zhfeng commented on code in PR #9344:
URL: https://github.com/apache/camel/pull/9344#discussion_r1108221961


##########
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);

Review Comment:
   There is only `service1` involved in the saga transction. `service2` can not 
join because the status is `COMPENSATED`. So I think it should be `1`.



-- 
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

Reply via email to