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

Eliminate sources of test flakiness in TestServiceRunPeriodic #303

Merged
merged 1 commit into from
Apr 4, 2017

Conversation

tgross
Copy link
Contributor

@tgross tgross commented Apr 3, 2017

Per discussion with @cheapRoc in #300 (comment), this PR should eliminate the flakiness of TestServiceRunPeriodic.

Rather than testing for a narrow number of task executions, which is susceptible to lots of little timing problems like GC or context switches in the environment, I'm testing for a maximum number of test executions only, and testing that we don't see any failures from time-outs.

I've also cleaned up a bit of cruft left over from my work re-writing tests in #290

@tgross tgross merged commit 08b0c28 into master Apr 4, 2017
@tgross tgross deleted the more_reliable_periodic_test branch April 10, 2017 19:21
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.

1 participant