zhfeng commented on code in PR #9344: URL: https://github.com/apache/camel/pull/9344#discussion_r1108224176
########## core/camel-core/src/test/java/org/apache/camel/processor/SagaTimeoutTest.java: ########## @@ -64,6 +70,29 @@ public void testTimeoutHasNoEffectIfCompleted() throws Exception { compensate.assertIsNotSatisfied(); } + @Test + public void testTimeoutMultiParticipants() throws Exception { + + MockEndpoint compensate = getMockEndpoint("mock:compensate"); + compensate.expectedMessageCount(1); + + MockEndpoint complete = getMockEndpoint("mock:complete"); + complete.expectedMessageCount(2); Review Comment: OK, I use `complete.assertIsNotSatisfied();` but yeah, it coud be more clearer with ```java complete.expectedMessageCount(0); ... complete.assertIsSatisfied(); ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org