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

Simplify and fix unstable test #550

Merged
merged 1 commit into from
Jun 8, 2017
Merged

Conversation

yurishkuro
Copy link
Contributor

Fixes #549

The order in which subscribers are notified is unpredictable because channels are stored in a map. My bad, was trying to fit too much in one test.

I split testing two subscribers into another function TestRegistry, which simplified the main test.

@peterbourgon
Copy link
Member

💯

@peterbourgon peterbourgon merged commit a9ca672 into go-kit:master Jun 8, 2017
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