diff --git a/tests/e2e/declarative_database_management_test.go b/tests/e2e/declarative_database_management_test.go index 4294d11234..c936a21db7 100644 --- a/tests/e2e/declarative_database_management_test.go +++ b/tests/e2e/declarative_database_management_test.go @@ -60,6 +60,7 @@ var _ = Describe("Declarative database management", Label(tests.LabelSmoke, test // Create a cluster in a namespace we'll delete after the test namespace, err = env.CreateUniqueTestNamespace(namespacePrefix) Expect(err).ToNot(HaveOccurred()) + clusterName, err = env.GetResourceNameFromYAML(clusterManifest) Expect(err).ToNot(HaveOccurred())