From 3d3926fd734694c5c9943c9fa6a65cef60f7b38c Mon Sep 17 00:00:00 2001 From: Thomas Stromberg Date: Fri, 5 Oct 2018 14:01:26 -0700 Subject: [PATCH 1/2] Remove scary looking log messages that distract from real failures. --- test/integration/cluster_status_test.go | 1 - test/integration/util/util.go | 1 - 2 files changed, 2 deletions(-) diff --git a/test/integration/cluster_status_test.go b/test/integration/cluster_status_test.go index b5cef118d51f..9af4dd98a841 100644 --- a/test/integration/cluster_status_test.go +++ b/test/integration/cluster_status_test.go @@ -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 { diff --git a/test/integration/util/util.go b/test/integration/util/util.go index 68e9ed5fe646..b026f94d7a22 100644 --- a/test/integration/util/util.go +++ b/test/integration/util/util.go @@ -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 From 07015bf43c95547130c0c807b4a1b86488346b87 Mon Sep 17 00:00:00 2001 From: Thomas Stromberg Date: Fri, 5 Oct 2018 14:02:04 -0700 Subject: [PATCH 2/2] Improve wording. --- test/integration/cluster_dns_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/cluster_dns_test.go b/test/integration/cluster_dns_test.go index 7ae909e32c11..37b6e1f612b2 100644 --- a/test/integration/cluster_dns_test.go +++ b/test/integration/cluster_dns_test.go @@ -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") } }