fix fd limit test

This commit is contained in:
whyrusleeping 2020-08-20 18:43:13 -07:00
parent d1718369a1
commit 38a2f82f78

View File

@ -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)
} }