Skip to content

Commit 8fdf453

Browse files
committed
Update
1 parent e8136b0 commit 8fdf453

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

test/e2e/argocd_metrics_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ import (
2727
. "github.com/onsi/ginkgo/v2"
2828
. "github.com/onsi/gomega"
2929
monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1"
30-
"github.com/redhat-developer/gitops-operator/test/openshift/e2e/ginkgo/fixture"
3130
argocdFixture "github.com/redhat-developer/gitops-operator/test/openshift/e2e/ginkgo/fixture/argocd"
3231
rbacv1 "k8s.io/api/rbac/v1"
3332

@@ -61,8 +60,6 @@ var _ = Describe("Argo CD metrics controller", func() {
6160
Context("Check if monitoring resources are created", func() {
6261
It("Role is created", func() {
6362

64-
defer fixture.OutputDebugOnFail("openshift-gitops", "openshift-gitops-operator")
65-
6663
openShiftGitOpsArgoCD := &argov1beta1api.ArgoCD{
6764
ObjectMeta: metav1.ObjectMeta{Name: "openshift-gitops", Namespace: "openshift-gitops"},
6865
}

test/openshift/e2e/ginkgo/sequential/1-050_validate_sso_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ var _ = Describe("GitOps Operator Sequential E2E Tests", func() {
4040
ns, cleanupFunc := fixture.CreateRandomE2ETestNamespaceWithCleanupFunc()
4141
defer cleanupFunc()
4242

43+
defer fixture.OutputDebugOnFail(ns.Name)
44+
4345
By("creating a new Argo CD instance with dex and openshift oauth enabled")
4446

4547
newArgoCD := &argov1beta1api.ArgoCD{

0 commit comments

Comments
 (0)