jeanouii commented on code in PR #1621:
URL: https://github.com/apache/activemq/pull/1621#discussion_r2709526487
##########
activemq-mqtt/src/test/java/org/apache/activemq/transport/mqtt/MQTTProtocolConverterTest.java:
##########
@@ -129,7 +129,7 @@ public void run() {
executorService.awaitTermination(10, TimeUnit.SECONDS);
ArgumentCaptor<RemoveInfo> removeInfo =
ArgumentCaptor.forClass(RemoveInfo.class);
- Mockito.verify(transport,
times(4)).sendToActiveMQ(removeInfo.capture());
+ Mockito.verify(transport,
times(1)).sendToActiveMQ(removeInfo.capture());
Review Comment:
I have no idea. The goal of the template was to ensure only one call to
sendToActiveMQ was made, which was a fix committed at the same time and using
an AtomicBoolean to enforce it. So I can tell you.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact