Skip to content

Commit fe9b980

Browse files
committed
wip
Signed-off-by: Attila Mészáros <[email protected]>
1 parent d27d5b8 commit fe9b980

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

operator-framework/src/test/java/io/javaoperatorsdk/operator/baseapi/subresource/SubResourceUpdateIT.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ void updatesSubResourceStatus() {
5959
// wait for sure, there are no more events
6060
waitXms(WAIT_AFTER_EXECUTION);
6161
// there is no event on status update processed
62-
assertThat(TestUtils.getNumberOfExecutions(operator)).isEqualTo(2);
62+
assertThat(TestUtils.getNumberOfExecutions(operator)).isEqualTo(1);
6363
}
6464

6565
@Test
@@ -73,7 +73,7 @@ void updatesSubResourceStatusNoFinalizer() {
7373
// wait for sure, there are no more events
7474
waitXms(WAIT_AFTER_EXECUTION);
7575
// there is no event on status update processed
76-
assertThat(TestUtils.getNumberOfExecutions(operator)).isEqualTo(2);
76+
assertThat(TestUtils.getNumberOfExecutions(operator)).isEqualTo(1);
7777
}
7878

7979
/** Note that we check on controller impl if there is finalizer on execution. */
@@ -87,7 +87,7 @@ void ifNoFinalizerPresentFirstAddsTheFinalizerThenExecutesControllerAgain() {
8787
// wait for sure, there are no more events
8888
waitXms(WAIT_AFTER_EXECUTION);
8989
// there is no event on status update processed
90-
assertThat(TestUtils.getNumberOfExecutions(operator)).isEqualTo(2);
90+
assertThat(TestUtils.getNumberOfExecutions(operator)).isEqualTo(1);
9191
}
9292

9393
/**

0 commit comments

Comments
 (0)