squakez commented on code in PR #20223:
URL: https://github.com/apache/camel/pull/20223#discussion_r2588128070
##########
components/camel-test/camel-test-junit6/src/test/java/org/apache/camel/test/junit6/patterns/FilterCreateCamelContextPerClassTest.java:
##########
@@ -42,7 +44,9 @@ public void testSendMatchingMessage() throws Exception {
@Test
public void testSendNotMatchingMessage() throws Exception {
- getMockEndpoint("mock:result").expectedMessageCount(0);
+ MockEndpoint me = getMockEndpoint("mock:result");
+ me.expectedMessageCount(0);
Review Comment:
It was failing here in the first run (as it had one exchange of the first
test). The second execution is fine as maven rerun only this one individually.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]