Skip to content

Commit de9d258

Browse files
committed
Reduce timeout of retry to 1m from 5m
1 parent 834c597 commit de9d258

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/extended/prometheus/prometheus.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ var _ = g.Describe("[sig-instrumentation][Late] Platform Prometheus targets", fu
121121
}
122122
pod := target.Labels["pod"]
123123
e2e.Logf("Checking via pod exec status code from the scaple url %s for pod %s/%s without authorization (skip=%t)", target.ScrapeUrl, ns, pod, namespacesToSkip.Has(ns))
124-
err := wait.PollUntilContextTimeout(context.Background(), 10*time.Second, 5*time.Minute, true, func(context.Context) (bool, error) {
124+
err := wait.PollUntilContextTimeout(context.Background(), 10*time.Second, time.Minute, true, func(context.Context) (bool, error) {
125125
statusCode, execError := helper.URLStatusCodeExecViaPod(execPod.Namespace, execPod.Name, target.ScrapeUrl)
126126
e2e.Logf("The scaple url %s for pod %s/%s without authorization returned %d, %v (skip=%t)", target.ScrapeUrl, ns, pod, statusCode, execError, namespacesToSkip.Has(ns))
127127
if expected.Has(statusCode) {

0 commit comments

Comments
 (0)