Merge pull request #89164 from tkashem/cache-test-fix

Fix data race issue in unit test
This commit is contained in:
Kubernetes Prow Robot
2020-03-19 06:05:14 -07:00
committed by GitHub

View File

@@ -793,7 +793,7 @@ func TestDispatchingBookmarkEventsWithConcurrentStop(t *testing.T) {
wg := sync.WaitGroup{}
wg.Add(2)
go func() {
cacher.dispatchEvent(bookmark)
cacher.processEvent(bookmark)
wg.Done()
}()