File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
operator-framework/src/test/java/io/javaoperatorsdk/operator/baseapi/subresource Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 /**
You can’t perform that action at this time.
0 commit comments