mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-19 18:02:01 +00:00
Making a run test.
Signed-off-by: songxiao-wang87 <wang.xiaosong23@zte.com.cn>
This commit is contained in:
parent
3f6738b8e6
commit
16c813d9b8
@ -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