Merge pull request #28153 from jsafrane/flaky-goroutinemap-wait
Automatic merge from submit-queue
Fixed goroutinemap race on Wait()
sync.WaitGroup produces data races when a GoroutineMap is empty and Wait() and Run() are called at the same time.
From sync.WaitGroup:
> Note that calls with a positive delta that occur when the counter is zero must happen before a Wait.
Fixes #28128
Note that this issue affects only PersistentVolume unit tests.
@saad-ali, PTAL
Showing
Please
register
or
sign in
to comment