Skip to content

Commit 0347ea7

Browse files
csviriCopilot
andcommitted
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
1 parent 8fb7e64 commit 0347ea7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

operator-framework/src/test/java/io/javaoperatorsdk/operator/baseapi/latestdistinct/LatestDistinctIT.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ void testLatestDistinctListWithTwoInformerEventSources() {
8484
assertThat(reconciler.getNumberOfExecutions()).isGreaterThanOrEqualTo(2);
8585
});
8686

87-
// Stabilization check: with correct own-update filtering the reconciler's own ConfigMap update
88-
// must not trigger a fresh reconciliation, so the execution count has to settle. A runaway
89-
// reconcile loop (filtering broken) would keep incrementing it. We allow one in-flight
87+
// Stabilization check: own-update filtering must prevent the reconciler's ConfigMap update from
88+
// causing an unbounded reconciliation loop, so the execution count has to settle.
89+
// A runaway loop (filtering broken) would keep incrementing it. We allow one in-flight
9090
// reconciliation past the baseline but require the count to stop growing over the window.
9191
int executionsBaseline = reconciler.getNumberOfExecutions();
9292
await()

0 commit comments

Comments
 (0)