We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e5d2c7 commit 534510fCopy full SHA for 534510f
test/e2e/k8s_util.go
@@ -1063,12 +1063,16 @@ func (k *KubernetesUtils) waitForHTTPServers(allPods []Pod) error {
1063
},
1064
}
1065
1066
- if httpServerReadiness.isReady() {
1067
- log.Infof("All HTTP servers are ready")
1068
- return nil
1069
- } else {
1070
- return fmt.Errorf("HTTP servers are not ready")
+ retries := 10
+ for range retries {
+ if httpServerReadiness.isReady() {
+ log.Infof("All HTTP servers are ready")
+ return nil
1071
+ }
1072
+ time.Sleep(defaultInterval)
1073
1074
+
1075
+ return fmt.Errorf("HTTP servers are not ready")
1076
1077
1078
// Encapsulate the data needed to perform a probe between pods
0 commit comments