From 917fd9f267bc098e1e037ff23b72a03a3bb9166a Mon Sep 17 00:00:00 2001 From: Mariano Uvalle Date: Tue, 30 Apr 2024 10:35:21 -0700 Subject: [PATCH] Add comment about namespace isolation symphony test. --- internal/controllers/reconciliation/symphony_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/controllers/reconciliation/symphony_test.go b/internal/controllers/reconciliation/symphony_test.go index b39b3dab..b44397e4 100644 --- a/internal/controllers/reconciliation/symphony_test.go +++ b/internal/controllers/reconciliation/symphony_test.go @@ -78,6 +78,8 @@ func TestSymphonyIntegration(t *testing.T) { symph.Spec.Variations = []apiv1.Variation{{Synthesizer: apiv1.SynthesizerRef{Name: syn.Name}}} require.NoError(t, upstream.Create(ctx, symph)) + // Creating a second symphony with the same name in a separate namespace + // to ensure we handle namespace isolation correctly. symph2 := &apiv1.Symphony{} symph2.Name = "test-comp" symph2.Namespace = "test"