mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 23:37:01 +00:00
Merge pull request #124004 from srivastav-abhishek/catcher-test-fix
Fixed flake test due to data race in while accessing dummyStorage in cacher-test
This commit is contained in:
commit
9966d05dba
@ -1665,7 +1665,7 @@ func TestWaitUntilWatchCacheFreshAndForceAllEvents(t *testing.T) {
|
||||
ResourceVersion: "105",
|
||||
},
|
||||
verifyBackingStore: func(t *testing.T, s *dummyStorage) {
|
||||
require.NotEqual(t, 0, s.requestWatchProgressCounter, "expected store.RequestWatchProgressCounter to be > 0. It looks like watch progress wasn't requested!")
|
||||
require.NotEqual(t, 0, s.getRequestWatchProgressCounter(), "expected store.RequestWatchProgressCounter to be > 0. It looks like watch progress wasn't requested!")
|
||||
},
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user