Skip to content

Ensure OperatorZipTest.testZipRace does not fail on slower machines #2861

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

Merged
merged 1 commit into from
Apr 8, 2015

Conversation

davidmoten
Copy link
Collaborator

The test OperatorZipTest.testZipRace fails every time on my pretty fast desktop due to not achieving the desired number of iterations within the timeout. It also fails every time on my slow laptop. This PR adds a time limit for the iterations of one second less than the test timeout so that the test will fail if a zip hangs but not if the machine is slow.

@akarnokd
Copy link
Member

akarnokd commented Apr 8, 2015

Thanks.

akarnokd added a commit that referenced this pull request Apr 8, 2015
Ensure OperatorZipTest.testZipRace does not fail on slower machines
@akarnokd akarnokd merged commit d53c1be into ReactiveX:1.x Apr 8, 2015
@davidmoten davidmoten deleted the zipRace-fix branch April 10, 2015 04:13
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.

2 participants