Skip to content

Additional test for Broadcaster data race #152

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

Merged

Conversation

cwaldren-ld
Copy link
Contributor

@cwaldren-ld cwaldren-ld commented May 28, 2024

This is a small cleanup to the existing Broadcasters implementation to use slices.DeleteFunc.

Additionally, I've upped the number of parallel goroutines used in the new race detection test to 10, to have a slightly higher chance of catching issues, and added a new test that randomly runs the functions against each-other.

@cwaldren-ld cwaldren-ld marked this pull request as ready for review May 28, 2024 21:13
@cwaldren-ld cwaldren-ld requested a review from a team May 28, 2024 21:13
@cwaldren-ld cwaldren-ld mentioned this pull request May 28, 2024
3 tasks
@cwaldren-ld cwaldren-ld merged commit c342ba2 into cw/sc-244791/broadcast-data-race May 29, 2024
@cwaldren-ld cwaldren-ld deleted the additional-data-race-test branch May 29, 2024 23:19
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