mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Merge pull request #101461 from cynepco3hahue/fix_race_condition_under_memory_manager_test
e2e node: fix the race condition under the memory manager test
This commit is contained in:
commit
0e13f93c26
@ -383,6 +383,14 @@ var _ = SIGDescribe("Memory Manager [Serial] [Feature:MemoryManager][NodeAlphaFe
|
||||
|
||||
// update the kubelet config with old values
|
||||
updateKubeletConfig(f, oldCfg)
|
||||
|
||||
// wait until the kubelet health check will pass and will continue to pass for specified period of time
|
||||
gomega.Eventually(func() bool {
|
||||
return kubeletHealthCheck(kubeletHealthCheckURL)
|
||||
}, time.Minute, 10*time.Second).Should(gomega.BeTrue())
|
||||
gomega.Consistently(func() bool {
|
||||
return kubeletHealthCheck(kubeletHealthCheckURL)
|
||||
}, time.Minute, 10*time.Second).Should(gomega.BeTrue())
|
||||
})
|
||||
|
||||
ginkgo.Context("with static policy", func() {
|
||||
|
Loading…
Reference in New Issue
Block a user