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

test_for_real(TestInactivityTimeout) fails #410

Closed
voxik opened this issue Mar 1, 2013 · 4 comments
Closed

test_for_real(TestInactivityTimeout) fails #410

voxik opened this issue Mar 1, 2013 · 4 comments

Comments

@voxik
Copy link
Contributor

voxik commented Mar 1, 2013

I observe following error with EM 1.0.1:

  1) Error:
test_for_real(TestInactivityTimeout):
Test::Unit::TestCase::EMTestTimeout: Test was cancelled after 0.25 seconds.
    /builddir/build/BUILD/rubygem-eventmachine-1.0.1/usr/share/gems/gems/eventmachine-1.0.1/tests/em_test_helper.rb:12:in `block (2 levels) in setup_timeout'
    /builddir/build/BUILD/rubygem-eventmachine-1.0.1/usr/share/gems/gems/eventmachine-1.0.1/lib/eventmachine.rb:187:in `call'
    /builddir/build/BUILD/rubygem-eventmachine-1.0.1/usr/share/gems/gems/eventmachine-1.0.1/lib/eventmachine.rb:187:in `run_machine'
    /builddir/build/BUILD/rubygem-eventmachine-1.0.1/usr/share/gems/gems/eventmachine-1.0.1/lib/eventmachine.rb:187:in `run'
    /builddir/build/BUILD/rubygem-eventmachine-1.0.1/usr/share/gems/gems/eventmachine-1.0.1/tests/test_inactivity_timeout.rb:33:in `test_for_real'

This was not issue for EM 1.0.0. I am testing EM against Ruby 2.0

@tmm1
Copy link
Contributor

tmm1 commented Mar 1, 2013

Try increasing the timeout.

@voxik
Copy link
Contributor Author

voxik commented Mar 1, 2013

I was trying the same with 1s and the result was the same. Did not tried more, since it looks already too much.

@tmm1
Copy link
Contributor

tmm1 commented Mar 8, 2013

This is fixed on master. Thanks for the report.

@tmm1 tmm1 closed this as completed Mar 8, 2013
@voxik
Copy link
Contributor Author

voxik commented Apr 11, 2013

Thanks, 1.0.3 works like a charm.

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

No branches or pull requests

2 participants