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

Fix: Race conditions #178

Merged
merged 46 commits into from
Sep 14, 2016
Merged

Fix: Race conditions #178

merged 46 commits into from
Sep 14, 2016

Conversation

thanodnl
Copy link
Contributor

This PR is to remove the races from ringpop-go and let travis actually fail when there are race conditions in ringpop.

@@ -28,9 +28,6 @@ env:
- RUN="make test-examples"

matrix:
allow_failures:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✨ 💖 ✨

@mennopruijssers
Copy link
Contributor

Looks really good overall. Some small questions and nits.
One important piece missing though is a unit test for the two event emitter implementations (SyncEventEmitter and ASyncEventEmitter). Would be nice to have a specific unit test for those two.

…ingpop for the time being to help easy upgrading.
@@ -24,6 +24,8 @@ import (
"sort"
"testing"

"github.com/benbjohnson/clock"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove white line

return stop, wait
}

// TODO add schedule once with a quit channel to cancel it for use in the update rollup
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO

@mennopruijssers
Copy link
Contributor

There are some todo's left, but besides that: LGTM!

@@ -27,9 +27,6 @@ env:
- RUN="make test-race"

matrix:
allow_failures:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💃

@motiejus
Copy link
Contributor

LGTM

@thanodnl thanodnl merged commit 2dbc06f into dev Sep 14, 2016
@thanodnl thanodnl deleted the fix/travis-races-manditory branch September 14, 2016 14:28
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

4 participants