Skip to content

Commit

Permalink
E2E: Don't error in wait.Poll (#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
xmudrii authored and kubermatic-bot committed Mar 8, 2019
1 parent 4b01b1b commit 1701dba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ func waitForNodesReady(nodeClient corev1types.NodeInterface) error {
for _, n := range nodes.Items {
for _, c := range n.Status.Conditions {
if c.Type == corev1.NodeReady && c.Status != corev1.ConditionTrue {
return false, errors.Errorf("node %s is not running", n.ObjectMeta.Name)
return false, nil
}
}
}
Expand Down Expand Up @@ -200,7 +200,7 @@ func waitForNodesUpgraded(nodeClient corev1types.NodeInterface, targetVersion st
return false, err
}
if reqVer.Compare(kubeletVer) != 0 {
return false, errors.Errorf("kubelet version mismatch: expected %v, got %v", reqVer.String(), kubeletVer.String())
return false, nil
}
}
return true, nil
Expand Down

0 comments on commit 1701dba

Please sign in to comment.