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 delay variable name to avoid shadowing delay() fx #9

Merged
merged 1 commit into from
Nov 28, 2014

Conversation

tinchogob
Copy link
Contributor

This shadowing caused some race conditions if multiple requests were made at the same time because reply() was made always async allowing to some requests to be handled before expectation was met and removed from the router.

@kylezeeuwen
Copy link

Hi,

We made a similar fix in this commit :
consoleau@be5b35a

The commit I reference fixes an additional issue where the assertion is not being removed immediately, but only after the delay has passed. This might also be causing you issues.

Cheers
Kyle

xetorthio added a commit that referenced this pull request Nov 28, 2014
Fix delay variable name to avoid shadowing delay() fx
@xetorthio xetorthio merged commit 6224504 into xetorthio:master Nov 28, 2014
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