essobedo commented on code in PR #9344: URL: https://github.com/apache/camel/pull/9344#discussion_r1108261541
########## 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: Oh, I missed that, it would be definitively more clear 😄 It makes me wonder in which case `assertIsNotSatisfied` can be useful, it sounds like a very dangerous method. -- 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