mirror of https://github.com/apache/activemq.git
add some logging to diagnose ci failure
This commit is contained in:
parent
18d05ba5e0
commit
2b3f0e5958
|
@ -1671,6 +1671,7 @@ public class MQTTTest extends MQTTTestSupport {
|
|||
}
|
||||
connectionSub.disconnect();
|
||||
|
||||
try {
|
||||
for (int j = 0; j < numberOfRuns; j++) {
|
||||
|
||||
for (int i = 0; i < messagesPerRun; ++i) {
|
||||
|
@ -1690,6 +1691,10 @@ public class MQTTTest extends MQTTTestSupport {
|
|||
}
|
||||
connectionSub.disconnect();
|
||||
}
|
||||
} catch (Exception exception) {
|
||||
LOG.error("unexpected exception", exception);
|
||||
exception.printStackTrace();
|
||||
}
|
||||
assertEquals("Should have received " + (messagesPerRun * (numberOfRuns + 1)) + " messages", (messagesPerRun * (numberOfRuns + 1)), received);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue