Skip to content

Commit

Permalink
[NO-ISSUE] Skip address CR migration tests when USE_EXISTING_CLUSTER …
Browse files Browse the repository at this point in the history
…is false
  • Loading branch information
brusdev committed Nov 28, 2024
1 parent 5bd553b commit 9f2e169
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions controllers/activemqartemisaddress_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1055,6 +1055,10 @@ var _ = Describe("Address controller tests", func() {

Context("Address CR migration test", Label("address-migration-test"), func() {
It("Migrate to broker properties when configDelete is FORCE", func() {
if os.Getenv("USE_EXISTING_CLUSTER") != "true" {
Skip("Existing cluster required")
}

addressName := "TEST-ADDRESS"
queueName := "TEST-QUEUE"
routingType := "anycast"
Expand Down Expand Up @@ -1125,6 +1129,10 @@ var _ = Describe("Address controller tests", func() {
})

It("Migrate to broker properties when RemoveFromBrokerOnDelete is false", func() {
if os.Getenv("USE_EXISTING_CLUSTER") != "true" {
Skip("Existing cluster required")
}

addressName := "TEST-ADDRESS"
queueName := "TEST-QUEUE"
routingType := "anycast"
Expand Down Expand Up @@ -1180,6 +1188,10 @@ var _ = Describe("Address controller tests", func() {
})

It("Migrate to broker properties when RemoveFromBrokerOnDelete is true", func() {
if os.Getenv("USE_EXISTING_CLUSTER") != "true" {
Skip("Existing cluster required")
}

addressName := "TEST-ADDRESS"
queueName := "TEST-QUEUE"
routingType := "anycast"
Expand Down

0 comments on commit 9f2e169

Please sign in to comment.