Making a run test.

Signed-off-by: songxiao-wang87 <wang.xiaosong23@zte.com.cn>
This commit is contained in:
songxiao-wang87 2022-12-16 08:30:45 +00:00
parent 3f6738b8e6
commit 16c813d9b8

View File

@ -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 {