Skip to content

Commit 39ebd6c

Browse files
authored
test: enhance TestMonitoringStackController/stack_spec_are_reflected_in_Prometheus (#348)
1 parent d19d7f2 commit 39ebd6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/framework/assertions.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ func (f *Framework) GetStackWhenAvailable(t *testing.T, name, namespace string)
269269
}
270270
var lastErr error
271271

272-
err := wait.PollUntilContextTimeout(context.Background(), 5*time.Second, DefaultTestTimeout, true, func(ctx context.Context) (bool, error) {
272+
err := wait.PollUntilContextTimeout(context.Background(), 5*time.Second, DefaultTestTimeout+10*time.Second, true, func(ctx context.Context) (bool, error) {
273273
lastErr = nil
274274
err := f.K8sClient.Get(context.Background(), key, &ms)
275275
if err != nil {

0 commit comments

Comments
 (0)