未验证 提交 c01c5545 编写于 作者: T Thomas Strömberg 提交者: GitHub

Merge pull request #3222 from tstromberg/scary-status

Remove scary temporary non-failures so that they do not distract from real ones
......@@ -63,7 +63,7 @@ func waitForDNS(t *testing.T, c kubernetes.Interface) {
t.Fatalf("Waited too long for k8s-app=kube-dns pods")
}
if err := commonutil.WaitForDeploymentToStabilize(c, "kube-system", "kube-dns", time.Minute*2); err != nil {
t.Fatalf("kube-dns deployment failed became stable within 2 minutes")
t.Fatalf("kube-dns deployment failed to stabilize within 2 minutes")
}
}
......
......@@ -42,7 +42,6 @@ func testClusterStatus(t *testing.T) {
if c.Type != api.ComponentHealthy {
continue
}
t.Logf("Component: %v, Healthy: %s.\n", i.GetName(), c.Status)
status = c.Status
}
if status != api.ConditionTrue {
......
......@@ -307,7 +307,6 @@ func Retry(t *testing.T, callback func() error, d time.Duration, attempts int) (
if err == nil {
return nil
}
t.Logf("Error: %s, Retrying in %s. %d Retries remaining.", err, d, attempts-i)
time.Sleep(d)
}
return err
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册