Skip to content

Commit

Permalink
Fix E2E tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
dhaus67 committed Jul 31, 2023
1 parent 535839f commit 5145a83
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const (
skipRouteMsg = "route resource is not known to test cluster"
skipDNSMsg = "external DNS is not enabled for this test run"

declarativeConfigSecretName = "sensible-declarative-configs" // pragma: allowlist secret
declarativeConfigSecretName = "cloud-service-sensible-declarative-configs" // pragma: allowlist secret
declarativeConfigAuthProviderKey = "default-sso-auth-provider"
)

Expand Down Expand Up @@ -206,7 +206,8 @@ var _ = Describe("Central", func() {
err := k8sClient.Get(context.TODO(), ctrlClient.ObjectKey{Name: declarativeConfigSecretName,
Namespace: namespaceName}, secret)
if err != nil {
return fmt.Errorf("failed finding %s secret: %w", declarativeConfigSecretName, err)
return fmt.Errorf("failed finding %s/%s secret: %w",
namespaceName, declarativeConfigSecretName, err)
}
return nil
}).WithTimeout(waitTimeout).WithPolling(defaultPolling).Should(Succeed())
Expand Down

0 comments on commit 5145a83

Please sign in to comment.