mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 10:20:51 +00:00
Merge pull request #110071 from gjkim42/deflake-TestStaticPodExclusion
Deflake TestStaticPodExclusion
This commit is contained in:
commit
0b57f4ed4b
@ -852,6 +852,8 @@ func TestStaticPodExclusion(t *testing.T) {
|
||||
Pod: newNamedPod("5-static", "test1", "pod1", true),
|
||||
UpdateType: kubetypes.SyncPodUpdate,
|
||||
})
|
||||
// Wait for the previous work to be delivered to the worker
|
||||
drainAllWorkers(podWorkers)
|
||||
channels.Channel("5-static").Hold()
|
||||
podWorkers.UpdatePod(UpdatePodOptions{
|
||||
Pod: newNamedPod("5-static", "test1", "pod1", true),
|
||||
|
Loading…
Reference in New Issue
Block a user