k8s-merge-robot
|
86357b8deb
|
Merge pull request #28092 from Random-Liu/fix-node-problem-detector-e2e
Automatic merge from submit-queue
Fix node problem detector e2e flake
Fix #28069.
The [original code](https://github.com/kubernetes/kubernetes/blob/master/test/e2e/node_problem_detector.go#L198-L204) assumes the test condition will be generated after 5s ([`pollConsistently`](https://github.com/kubernetes/kubernetes/blob/master/test/e2e/node_problem_detector.go#L39)), however sometimes that may not be enough, see #28096
So, this PR changes it to use `Eventually` instead of `Consistently` to make the code waits longer before the test condition to be generated. The original `Consistently` checking is a bit redundant, so I removed it.
@dchen1107
[]()
|
2016-06-28 09:18:16 -07:00 |
|