Merge pull request #3215 from filecoin-project/fix/fd-limit-test

fix fd limit test
This commit is contained in:
Whyrusleeping 2020-08-20 18:58:54 -07:00 committed by GitHub
commit 659babc6b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ func TestManageInvalidNFds(t *testing.T) {
t.Errorf("ManageFdLimit should return an error: changed %t, new: %d", changed, new)
} else if err != nil {
flag := strings.Contains(err.Error(),
"failed to raise ulimit to IPFS_FD_MAX")
"failed to raise ulimit to LOTUS_FD_MAX")
if !flag {
t.Error("ManageFdLimit returned unexpected error", err)
}