Skip to content

Commit

Permalink
fix fail test
Browse files Browse the repository at this point in the history
  • Loading branch information
wanghuaiyuan committed Jan 20, 2025
1 parent 5a675f9 commit 2741799
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -282,10 +282,10 @@ public void testDeleteTimerMessage() throws Exception {
assertEquals(PutMessageStatus.PUT_OK, messageStore.putMessage(delMsg).getPutMessageStatus());

// The first one should have been deleted.
for (int i = 1; i < 4; i++) {
ByteBuffer msgBuff = getOneMessage(topic, 0, i, 3000);
assertNotNull(msgBuff);
MessageExt msgExt = MessageDecoder.decode(msgBuff);
for (int i = 0; i < 4; i++) {
ByteBuffer msgBuff1 = getOneMessage(topic, 0, i, 3000);
assertNotNull(msgBuff1);
MessageExt msgExt = MessageDecoder.decode(msgBuff1);
assertNotNull(msgExt);
}
// The last one should be null.
Expand Down

0 comments on commit 2741799

Please sign in to comment.