Skip to content

Commit 0d8f12d

Browse files
artembilanEddieChoCho
authored andcommitted
Rethrow an exception in the ManualFlowTests.testConcurrentRegistration()
The test fails sometimes, but its exception in the executor is lost. Rethrow `exceptionHappened` to be reported into logs
1 parent 853d49a commit 0d8f12d

File tree

1 file changed

+1
-0
lines changed
  • spring-integration-core/src/test/java/org/springframework/integration/dsl/manualflow

1 file changed

+1
-0
lines changed

spring-integration-core/src/test/java/org/springframework/integration/dsl/manualflow/ManualFlowTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,7 @@ public void testConcurrentRegistration() throws InterruptedException {
470470
}
471471
catch (Exception e) {
472472
exceptionHappened.set(true);
473+
throw e;
473474
}
474475

475476
});

0 commit comments

Comments
 (0)