Skip to content

Commit

Permalink
fix: give TimerMessageStoreTest#testStateAndRecover more time for Awa…
Browse files Browse the repository at this point in the history
…itability to poll and check

Signed-off-by: lizhanhui <[email protected]>
  • Loading branch information
lizhanhui committed Dec 8, 2023
1 parent 527afa2 commit 3709175
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -426,8 +426,8 @@ public Boolean call() {
assertEquals(first.getCommitReadTimeMs(), second.getCommitReadTimeMs());
second.start(true);

// Wait until all messages have wrote back to commitLog and consumeQueue.
await().atMost(5000, TimeUnit.MILLISECONDS).until(new Callable<Boolean>() {
// Wait until all messages have been written back to commitLog and consumeQueue.
await().atMost(30000, TimeUnit.MILLISECONDS).until(new Callable<Boolean>() {
@Override
public Boolean call() {
ConsumeQueue cq = (ConsumeQueue) messageStore.getConsumeQueue(topic, 0);
Expand Down

0 comments on commit 3709175

Please sign in to comment.