mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Deflake TestStaticPodExclusion
This commit is contained in:
parent
45844049fc
commit
563c99599f
@ -848,6 +848,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