Skip to content

Conversation

@jmbowman
Copy link
Contributor

@jmbowman jmbowman commented Jul 25, 2018

This test has been intermittently failing recently both for PRs and master. The original process sometimes manages to terminate the spawned process right after it calls event.set(), so it never gets to time.sleep(5) yielding less than the expected 100% coverage. I think this 0.5 second wait should be enough for the spawned process to always hit the wait statement without slowing the test down perceptibly. I tried 0.1 seconds first, but the pypy tests still failed in Travis with that.

@ionelmc
Copy link
Member

ionelmc commented Aug 9, 2018

Rebased as 115155d.

@ionelmc ionelmc closed this Aug 9, 2018
@jmbowman jmbowman deleted the fix_test_race_condition branch January 14, 2019 21:13
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.

2 participants