Skip to content

Commit 6f8c4f9

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

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

Diff for: system_tests/system_test.go

+15-3
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,21 @@ 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(
145+
MatchFields(IgnoreExtras, Fields{
146+
"Name": Equal("khepri_db"),
147+
"State": Equal("enabled"),
148+
})), // temporary workaround since rabbitmq in main comes with Khepri disabled
149+
),
150+
)
139151
})
140152
})
141153
})

0 commit comments

Comments
 (0)