Skip to content
This repository has been archived by the owner on Feb 11, 2020. It is now read-only.

fixes #271 #273

Merged
merged 2 commits into from
Jul 12, 2015
Merged

fixes #271 #273

merged 2 commits into from
Jul 12, 2015

Conversation

behrad
Copy link
Contributor

@behrad behrad commented Jun 13, 2015

it simply guards against adding a single (sub,id) multiple times into _subMatcher

@mcollina
Copy link
Collaborator

Can you please add a unit test for this situation?

@behrad
Copy link
Contributor Author

behrad commented Jun 22, 2015

We should write a failing test which happens on clustered mosca.

have you any test case code sample using clustered mosca?

@behrad
Copy link
Contributor Author

behrad commented Jun 22, 2015

or we can simulate the environment manipulating that._subMatcher by hand

@mcollina
Copy link
Collaborator

There are some for Ascoltatori, but not for Mosca: https://github.com/mcollina/ascoltatori/blob/master/test/redis_ascoltatore_spec.js#L27-L44.

@behrad
Copy link
Contributor Author

behrad commented Jul 11, 2015

Would you please check this and merge if it is OK @mcollina

@behrad
Copy link
Contributor Author

behrad commented Jul 11, 2015

WoW, my typo, commit message should have been "added test for #271"

mcollina added a commit that referenced this pull request Jul 12, 2015
@mcollina mcollina merged commit 18e7695 into moscajs:master Jul 12, 2015
@mcollina
Copy link
Collaborator

No problem and thanks for fixing this!

@behrad
Copy link
Contributor Author

behrad commented Jul 12, 2015

thank you @mcollina

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants