fix fd limit test
This commit is contained in:
parent
d1718369a1
commit
38a2f82f78
@ -44,7 +44,7 @@ func TestManageInvalidNFds(t *testing.T) {
|
|||||||
t.Errorf("ManageFdLimit should return an error: changed %t, new: %d", changed, new)
|
t.Errorf("ManageFdLimit should return an error: changed %t, new: %d", changed, new)
|
||||||
} else if err != nil {
|
} else if err != nil {
|
||||||
flag := strings.Contains(err.Error(),
|
flag := strings.Contains(err.Error(),
|
||||||
"failed to raise ulimit to IPFS_FD_MAX")
|
"failed to raise ulimit to LOTUS_FD_MAX")
|
||||||
if !flag {
|
if !flag {
|
||||||
t.Error("ManageFdLimit returned unexpected error", err)
|
t.Error("ManageFdLimit returned unexpected error", err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user