Skip to content

Commit 66bc039

Browse files
committed
fixes
1 parent cd1c5bf commit 66bc039

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

operator-framework-core/src/test/java/io/javaoperatorsdk/operator/processing/event/source/informer/InformerEventSourceTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,8 @@ void informerStoppedHandlerShouldBeCalledWhenInformerStops() {
257257
throw exception;
258258
}));
259259

260+
// by default informer fails to start if there is an exception in the client on start.
261+
// Throws the exception further.
260262
assertThrows(RuntimeException.class, () -> informerEventSource.start());
261263
verify(informerStoppedHandler, atLeastOnce()).onStop(any(), eq(exception));
262264
} finally {

0 commit comments

Comments
 (0)