Commit e6e38256 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #41903 from justinsb/clearer_test_logging

Automatic merge from submit-queue Clearer logging from e2e DialFromNode I was a little confused by the messages previously. ```release-note NONE ```
parents c4eeb238 ac87601f
...@@ -256,12 +256,15 @@ func (config *NetworkingTestConfig) DialFromNode(protocol, targetIP string, targ ...@@ -256,12 +256,15 @@ func (config *NetworkingTestConfig) DialFromNode(protocol, targetIP string, targ
eps.Insert(trimmed) eps.Insert(trimmed)
} }
} }
Logf("Waiting for %+v endpoints, got endpoints %+v", expectedEps.Difference(eps), eps)
// Check against i+1 so we exit if minTries == maxTries. // Check against i+1 so we exit if minTries == maxTries.
if (eps.Equal(expectedEps) || eps.Len() == 0 && expectedEps.Len() == 0) && i+1 >= minTries { if eps.Equal(expectedEps) && i+1 >= minTries {
Logf("Found all expected endpoints: %+v", eps.List())
return return
} }
Logf("Waiting for %+v endpoints (expected=%+v, actual=%+v)", expectedEps.Difference(eps).List(), expectedEps.List(), eps.List())
// TODO: get rid of this delay #36281 // TODO: get rid of this delay #36281
time.Sleep(hitEndpointRetryDelay) time.Sleep(hitEndpointRetryDelay)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment