mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 03:11:40 +00:00
Merge pull request #114533 from songxiao-wang87/runwxs-test7
don't assert error inside wait.Poll loops
This commit is contained in:
commit
64b6cec843
@ -114,7 +114,9 @@ func (r *RestartDaemonConfig) waitUp() {
|
||||
}
|
||||
err := wait.Poll(r.pollInterval, r.pollTimeout, func() (bool, error) {
|
||||
result, err := e2essh.NodeExec(r.nodeName, healthzCheck, framework.TestContext.Provider)
|
||||
framework.ExpectNoError(err)
|
||||
if err != nil {
|
||||
return false, err
|
||||
}
|
||||
if result.Code == 0 {
|
||||
httpCode, err := strconv.Atoi(result.Stdout)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user