-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 racy and failing test cases #674
Conversation
@@ -368,7 +374,7 @@ func TestStreamsStress(t *testing.T) { | |||
ctx := context.Background() | |||
nnodes := 100 | |||
if detectrace.WithRace() { | |||
nnodes = 50 | |||
nnodes = 30 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is OK (and even better) because we're stress testing streams, and reducing the host count increases stream density per host.
Tests are green 💚🎉 (although |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Fixes #671, fixes #672, and integrates a peerstore fix to prevent a race.