Skip to content

Commit 2bdc67d

Browse files
committed
Workaroun system tests in rabbitmq-main
Signed-off-by: Aitor Perez Cedres <[email protected]>
1 parent 60210a7 commit 2bdc67d

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

system_tests/system_test.go

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,20 @@ var _ = Describe("Operator", func() {
133133
var flags []featureFlag
134134
Expect(json.Unmarshal(output, &flags)).To(Succeed())
135135
return flags
136-
}, 30, 2).ShouldNot(ContainElement(MatchFields(IgnoreExtras, Fields{
137-
"State": Not(Equal("enabled")),
138-
})))
136+
}, 30, 2).
137+
ShouldNot(
138+
Or(
139+
ContainElement(
140+
MatchFields(IgnoreExtras, Fields{
141+
"State": Not(Equal("enabled")),
142+
}),
143+
),
144+
ContainElement(IgnoreExtras, Fields{
145+
"Name": Equal("khepri_db"),
146+
"State": Equal("enabled"),
147+
}), // temporary workaround since rabbitmq in main comes with Khepri disabled
148+
),
149+
)
139150
})
140151
})
141152
})

0 commit comments

Comments
 (0)