mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 19:01:49 +00:00
nits in service e2e test logging
This commit is contained in:
parent
f96b187fcb
commit
67daafccd8
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user