mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 23:37:01 +00:00
Fix node problem detector e2e flake
This commit is contained in:
parent
ff7c280200
commit
aecb5357a6
@ -198,8 +198,8 @@ var _ = framework.KubeDescribe("NodeProblemDetector", func() {
|
||||
Consistently(func() error {
|
||||
return verifyNoEvents(c.Events(eventNamespace), eventListOptions)
|
||||
}, pollConsistent, pollInterval).Should(Succeed())
|
||||
By("Make sure the default node condition is false")
|
||||
Consistently(func() error {
|
||||
By("Make sure the default node condition is generated")
|
||||
Eventually(func() error {
|
||||
return verifyCondition(c.Nodes(), node.Name, condition, api.ConditionFalse, defaultReason, defaultMessage)
|
||||
}, pollConsistent, pollInterval).Should(Succeed())
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user