-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
testing: fix test-only data race in dynamic plugin registry
The dynamic plugin registry tests have data races becasue the test assertion is reading values set in the `listenFunc` goroutines. Have the assertion happen inside the polling goroutine to remove the race.
- Loading branch information
Showing
1 changed file
with
70 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters