Skip to content

Commit 6be9328

Browse files
committed
[NO-ISSUE] ensure we only find our controller with the selector for -do test
1 parent 3e153b4 commit 6be9328

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/common_util_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ func DeployCustomAddress(targetNamespace string, customFunc func(candidate *brok
618618
func GetOperatorLog(ns string) (*string, error) {
619619
cfg, err := config.GetConfig()
620620
Expect(err).To(BeNil())
621-
labelSelector, err := labels.Parse("control-plane=controller-manager")
621+
labelSelector, err := labels.Parse("control-plane=controller-manager,name=activemq-artemis-operator")
622622
Expect(err).To(BeNil())
623623
clientset, err := kubernetes.NewForConfig(cfg)
624624
Expect(err).To(BeNil())

0 commit comments

Comments
 (0)