Skip to content

Commit 7348cc2

Browse files
committed
test fix
1 parent fbb8238 commit 7348cc2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

operator-framework/src/test/java/io/javaoperatorsdk/operator/ServiceStrictMatcherIT.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ public class ServiceStrictMatcherIT {
2727
void testTheMatchingDoesNoTTriggersFurtherUpdates() {
2828
var resource = operator.create(testResource());
2929

30+
await().untilAsserted(() -> {
31+
assertThat(operator.getReconcilerOfType(ServiceStrictMatcherTestReconciler.class)
32+
.getNumberOfExecutions()).isEqualTo(1);
33+
});
34+
3035
// make an update to spec to reconcile again
3136
resource.getSpec().setValue(2);
3237
operator.replace(resource);

0 commit comments

Comments
 (0)