Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a test for auto-raising ulimit #2891

Merged
merged 1 commit into from
Jun 23, 2016
Merged

Conversation

whyrusleeping
Copy link
Member

License: MIT
Signed-off-by: Jeromy [email protected]

License: MIT
Signed-off-by: Jeromy <[email protected]>
@Kubuxu
Copy link
Member

Kubuxu commented Jun 22, 2016

LGTM

@whyrusleeping
Copy link
Member Author

waiting for the travisCI OSX tests to go through... they are currently failing on master and its fixed in this PR

@whyrusleeping whyrusleeping added this to the Ipfs 0.4.3 milestone Jun 23, 2016
@whyrusleeping whyrusleeping merged commit 6e45e9d into master Jun 23, 2016
@whyrusleeping whyrusleeping deleted the feat/ulimit-raise-tests branch June 23, 2016 02:56
test_launch_ipfs_daemon

test_expect_success "daemon raised its fd limit" '
grep "ulimit" actual_daemon > /dev/null
Copy link
Member

@jbenet jbenet Aug 27, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should have a way to check the number. this test does not test the thing in question, it only checks that a word exists in a message printed. Check the number it was raised to. if you can, verify that it was indeed raised with os cmds or something. or through some /debug api route

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants