diff --git a/test/e2e/steps/hooks.go b/test/e2e/steps/hooks.go index ef56b99a6..159cc7d5b 100644 --- a/test/e2e/steps/hooks.go +++ b/test/e2e/steps/hooks.go @@ -268,9 +268,6 @@ func ScenarioCleanup(ctx context.Context, _ *godog.Scenario, err error) (context } forDeletion := sc.addedResources - if sc.clusterObjectSetName != "" && featureGates[features.BoxcutterRuntime] { - forDeletion = append(forDeletion, resource{name: sc.clusterObjectSetName, kind: "clusterobjectset"}) - } for _, catalogName := range sc.catalogs { forDeletion = append(forDeletion, resource{name: catalogName, kind: "clustercatalog"}) } diff --git a/test/e2e/steps/steps.go b/test/e2e/steps/steps.go index 52aed3a5e..a0145b8ba 100644 --- a/test/e2e/steps/steps.go +++ b/test/e2e/steps/steps.go @@ -476,6 +476,7 @@ func ResourceIsApplied(ctx context.Context, yamlTemplate *godog.DocString) error sc.addedResources = append(sc.addedResources, resource{name: res.GetName(), kind: "clusterextension"}) } else if res.GetKind() == "ClusterObjectSet" { sc.clusterObjectSetName = res.GetName() + sc.addedResources = append(sc.addedResources, resource{name: res.GetName(), kind: "clusterobjectset"}) } else { namespace := res.GetNamespace() if namespace == "" {