Skip to content

Comments

Simplify and fix unstable test#550

Merged
peterbourgon merged 1 commit intogo-kit:masterfrom
yurishkuro:ys-fix-549
Jun 8, 2017
Merged

Simplify and fix unstable test#550
peterbourgon merged 1 commit intogo-kit:masterfrom
yurishkuro:ys-fix-549

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