squakez commented on code in PR #21911:
URL: https://github.com/apache/camel/pull/21911#discussion_r2912302911
##########
components/camel-hazelcast/src/test/java/org/apache/camel/component/hazelcast/HazelcastReplicatedmapConsumerTest.java:
##########
@@ -54,6 +56,25 @@ public void afterEach() {
}
}
+ @BeforeEach
+ public void resetState() {
+ map.clear();
+ MockEndpoint.resetMocks(context);
+ }
+
+ @AfterEach
+ public void debugMocks() {
+ context.getEndpoints().stream()
+ .filter(e -> e instanceof MockEndpoint)
+ .map(e -> (MockEndpoint) e)
+ .forEach(m -> {
+ System.out.println(
Review Comment:
@apupier this print out probably should not have been merged.
--
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]