mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 09:22:44 +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",
|
ResourceVersion: "105",
|
||||||
},
|
},
|
||||||
verifyBackingStore: func(t *testing.T, s *dummyStorage) {
|
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