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

break tests as approach timeout so that don't fail on slow machines #3085

Merged
merged 1 commit into from Jul 23, 2015

Conversation

davidmoten
Copy link
Collaborator

These tests were giving me regular failures on my slow laptop:

  • OperatorMergeMaxConcurrentTest.testSimpleOneLessAsync
  • BackpressureTests.testOnBackpressureDrop

They both loop repeatedly looking for failure or lockup. If the machine running the tests isn't fast enough then the tests timeout before reaching the desired number of loops. This PR adds a break to the tests when the loop has run for 9 seconds (timeout is 10 seconds).

@akarnokd
Copy link
Member

Great!

akarnokd added a commit that referenced this pull request Jul 23, 2015
break tests as approach timeout so that don't fail on slow machines
@akarnokd akarnokd merged commit 06d90da into ReactiveX:1.x Jul 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants