Skip to content

Commit

Permalink
Add debug logs to test3ConsumerAndCrashOne for investigating CI failure
Browse files Browse the repository at this point in the history
  • Loading branch information
chi3316 committed Sep 7, 2024
1 parent a8dc90e commit a0d33dc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,9 @@
<excludes>
<exclude>**/NormalMsgDelayIT.java</exclude>
</excludes>
<includes>
<include>**/NormalMsgDynamicBalanceIT.java</include>
</includes>
</configuration>
<executions>
<execution>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ public void test3ConsumerAndCrashOne() throws InterruptedException {
consumer1.getListener(), consumer2.getListener());
assertThat(recvAll).isEqualTo(true);

logger.error("Consumer1 received: " + consumer1.getListener().getAllUndupMsgBody().size());
logger.error("Consumer2 received: " + consumer2.getListener().getAllUndupMsgBody().size());
boolean balance = VerifyUtils.verifyBalance(msgSize,
VerifyUtils.getFilterdMessage(producer.getAllMsgBody(),
consumer1.getListener().getAllUndupMsgBody()).size(),
Expand Down

0 comments on commit a0d33dc

Please sign in to comment.