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
  • Loading branch information
lihongyan1 committed Aug 25, 2023
1 parent d19d7f2 commit f6e54b1
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 f6e54b1

Please sign in to comment.