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

Update Travis + Fixed flapping tests #10

Merged
merged 1 commit into from
Sep 14, 2016
Merged

Conversation

kozlovic
Copy link
Member

Was getting failures with -race for heartbeat tests.
The util function sendAndWait() just ensures that the heartbeat
has been dequeued. Change in state and/or leader is not guaranteed
at this point. Added waitForLeader and waitForState to wait for
a certain amount of time for the expected leader/state. Used these
in various places, may need to use it in some other places if we
get other tests failures.

Was getting failures with `-race` for heartbeat tests.
The util function sendAndWait() just ensures that the heartbeat
has been dequeued. Change in state and/or leader is not guaranteed
at this point. Added waitForLeader and waitForState to wait for
a certain amount of time for the expected leader/state. Used these
in various places, may need to use it in some other places if we
get other tests failures.
@coveralls
Copy link

Coverage Status

Coverage increased (+3.0%) to 89.935% when pulling e81ae0a on fix_flapping_tests into 351c887 on master.

@derekcollison derekcollison merged commit 92e724b into master Sep 14, 2016
@derekcollison derekcollison deleted the fix_flapping_tests branch September 14, 2016 16:37
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.

None yet

3 participants