mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-06 10:43:56 +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 {
|
Consistently(func() error {
|
||||||
return verifyNoEvents(c.Events(eventNamespace), eventListOptions)
|
return verifyNoEvents(c.Events(eventNamespace), eventListOptions)
|
||||||
}, pollConsistent, pollInterval).Should(Succeed())
|
}, pollConsistent, pollInterval).Should(Succeed())
|
||||||
By("Make sure the default node condition is false")
|
By("Make sure the default node condition is generated")
|
||||||
Consistently(func() error {
|
Eventually(func() error {
|
||||||
return verifyCondition(c.Nodes(), node.Name, condition, api.ConditionFalse, defaultReason, defaultMessage)
|
return verifyCondition(c.Nodes(), node.Name, condition, api.ConditionFalse, defaultReason, defaultMessage)
|
||||||
}, pollConsistent, pollInterval).Should(Succeed())
|
}, pollConsistent, pollInterval).Should(Succeed())
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user