Skip to content

Commit

Permalink
test: enhance TestMonitoringStackController/stack_spec_are_reflected_…
Browse files Browse the repository at this point in the history
…in_Prometheus (#348)
  • Loading branch information
lihongyan1 authored Aug 31, 2023
1 parent d19d7f2 commit 39ebd6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/framework/assertions.go
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ func (f *Framework) GetStackWhenAvailable(t *testing.T, name, namespace string)
}
var lastErr error

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

0 comments on commit 39ebd6c

Please sign in to comment.