From 67daafccd8637c84841e9068065a8658aef1762f Mon Sep 17 00:00:00 2001 From: Zihong Zheng Date: Tue, 18 Apr 2017 10:03:39 -0700 Subject: [PATCH] nits in service e2e test logging --- test/e2e/service.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/e2e/service.go b/test/e2e/service.go index c0cefb945e5..3a915f6ed4f 100644 --- a/test/e2e/service.go +++ b/test/e2e/service.go @@ -1371,12 +1371,12 @@ var _ = framework.KubeDescribe("ESIPP [Slow]", func() { // All other nodes should fail the healthcheck on the service healthCheckNodePort for n, publicIP := range ips { expectedSuccess := nodes.Items[n].Name == endpointNodeName - framework.Logf("Health checking %s, http://%s:%d/%s, expectedSuccess %v", nodes.Items[n].Name, publicIP, healthCheckNodePort, path, expectedSuccess) + framework.Logf("Health checking %s, http://%s:%d%s, expectedSuccess %v", nodes.Items[n].Name, publicIP, healthCheckNodePort, path, expectedSuccess) pass, fail, err := jig.TestHTTPHealthCheckNodePort(publicIP, healthCheckNodePort, path, 5) if expectedSuccess && pass < threshold { - framework.Failf("Expected %s successes on %v/%v, got %d, err %v", threshold, endpointNodeName, path, pass, err) + framework.Failf("Expected %d successes on %v%v, got %d, err %v", threshold, endpointNodeName, path, pass, err) } else if !expectedSuccess && fail < threshold { - framework.Failf("Expected %s failures on %v/%v, got %d, err %v", threshold, endpointNodeName, path, fail, err) + framework.Failf("Expected %d failures on %v%v, got %d, err %v", threshold, endpointNodeName, path, fail, err) } // Make sure the loadbalancer picked up the helth check change jig.TestReachableHTTP(ingressIP, svcTCPPort, framework.KubeProxyLagTimeout)