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

Fxed RACE for TestPartitionsClientPings test #588

Merged
merged 1 commit into from
Jun 28, 2018

Conversation

kozlovic
Copy link
Member

Moved some global variables inside the StanServer object to avoid
races if program starts more than 1 server at a time. This happens
in that test, but technically, it could happen if users run
NATS Streaming servers from their application and start more than
one instance at a time..

Signed-off-by: Ivan Kozlovic ivan@synadia.com

Moved some global variables inside the StanServer object to avoid
races if program starts more than 1 server at a time. This happens
in that test, but technically, it could happen if users run
NATS Streaming servers from their application and start more than
one instance at a time..

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
@kozlovic kozlovic merged commit 0b855b4 into master Jun 28, 2018
@kozlovic kozlovic deleted the fix_test_client_pings_race branch June 28, 2018 22:15
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 91.848% when pulling eee6785 on fix_test_client_pings_race into 6027b20 on master.

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