Merge pull request #3222 from tstromberg/scary-status

Remove scary temporary non-failures so that they do not distract from real ones
pull/3229/head
Thomas Strömberg 2018-10-06 08:26:33 -07:00 committed by GitHub
commit c01c5545a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 3 deletions

View File

@ -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")
} }
} }

View File

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

View File

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