Commit 564f78ae authored by Saad Ali's avatar Saad Ali

Merge pull request #22295 from freehan/nettest

bump wait timeout for nettest container
parents bef2b8f1 57fc5e13
...@@ -214,7 +214,7 @@ func main() { ...@@ -214,7 +214,7 @@ func main() {
// Find all sibling pods in the service and post to their /write handler. // Find all sibling pods in the service and post to their /write handler.
func contactOthers(state *State) { func contactOthers(state *State) {
const waitTimeout = 2 * time.Minute const waitTimeout = 5 * time.Minute
defer state.doneContactingPeers() defer state.doneContactingPeers()
client, err := client.NewInCluster() client, err := client.NewInCluster()
if err != nil { if err != nil {
...@@ -232,7 +232,7 @@ func contactOthers(state *State) { ...@@ -232,7 +232,7 @@ func contactOthers(state *State) {
if eps.Len() >= *peerCount { if eps.Len() >= *peerCount {
break break
} }
state.Logf("%v/%v has %v endpoints, which is less than %v as expected. Waiting for all endpoints to come up.", *namespace, *service, len(eps), *peerCount) state.Logf("%v/%v has %v endpoints (%v), which is less than %v as expected. Waiting for all endpoints to come up.", *namespace, *service, len(eps), eps.List(), *peerCount)
} }
// Do this repeatedly, in case there's some propagation delay with getting // Do this repeatedly, in case there's some propagation delay with getting
......
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