Skip to content

Commit b476289

Browse files
authored
check more frequently for updated resource statuses (#294)
1 parent 76d5bfb commit b476289

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dagger/e2e.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ spec:
439439
}
440440

441441
// Retry up to 5 times with 30 seconds between attempts
442-
err = waitForResourcesReady(ctx, resourceNames, 5, 30*time.Second, tokenPlaintext, appID, distribution)
442+
err = waitForResourcesReady(ctx, resourceNames, 30, 5*time.Second, tokenPlaintext, appID, distribution)
443443
if err != nil {
444444
return fmt.Errorf("failed to wait for resources to be ready: %w", err)
445445
}
@@ -458,7 +458,7 @@ spec:
458458
{Kind: "deployment", Name: "second-test-chart"},
459459
{Kind: "service", Name: "replicated"},
460460
}
461-
err = waitForResourcesReady(ctx, newResourceNames, 5, 30*time.Second, tokenPlaintext, appID, distribution)
461+
err = waitForResourcesReady(ctx, newResourceNames, 30, 5*time.Second, tokenPlaintext, appID, distribution)
462462
if err != nil {
463463
return fmt.Errorf("failed to wait for resources to be ready: %w", err)
464464
}

0 commit comments

Comments
 (0)