Merge pull request #3222 from tstromberg/scary-status
Remove scary temporary non-failures so that they do not distract from real onespull/3229/head
commit
c01c5545a5
|
@ -63,7 +63,7 @@ func waitForDNS(t *testing.T, c kubernetes.Interface) {
|
||||||
t.Fatalf("Waited too long for k8s-app=kube-dns pods")
|
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 {
|
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 {
|
if c.Type != api.ComponentHealthy {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
t.Logf("Component: %v, Healthy: %s.\n", i.GetName(), c.Status)
|
|
||||||
status = c.Status
|
status = c.Status
|
||||||
}
|
}
|
||||||
if status != api.ConditionTrue {
|
if status != api.ConditionTrue {
|
||||||
|
|
|
@ -307,7 +307,6 @@ func Retry(t *testing.T, callback func() error, d time.Duration, attempts int) (
|
||||||
if err == nil {
|
if err == nil {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
t.Logf("Error: %s, Retrying in %s. %d Retries remaining.", err, d, attempts-i)
|
|
||||||
time.Sleep(d)
|
time.Sleep(d)
|
||||||
}
|
}
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Reference in New Issue