We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb8bff2 commit b0f7495Copy full SHA for b0f7495
operator/e2e/setup/shared_cluster.go
@@ -201,9 +201,7 @@ func (scm *SharedClusterManager) CleanupWorkloads(ctx context.Context) error {
201
}
202
203
// Step 2: Poll for all resources and pods to be cleaned up, wait for 30 seconds or until all resources and pods are deleted
204
- timeout := 30 * time.Second
205
- interval := 1 * time.Second
206
- if err := scm.waitForAllResourcesAndPodsDeleted(ctx, timeout, interval); err != nil {
+ if err := scm.waitForAllResourcesAndPodsDeleted(ctx, 30*time.Second, 1*time.Second); err != nil {
207
// List remaining resources and pods for debugging
208
scm.listRemainingResources(ctx)
209
scm.listRemainingPods(ctx, "default")
0 commit comments