Skip to content

Commit

Permalink
Reduce unit test execution time
Browse files Browse the repository at this point in the history
  • Loading branch information
chi3316 committed Dec 9, 2024
1 parent edbe77b commit 86fa02c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,7 @@ public void testRetryUntilSuccess() throws Exception {
latch.countDown();
}
}).start();
latch.await(10, TimeUnit.SECONDS);

latch.await(5, TimeUnit.SECONDS);
assertTrue(timerMessageStore.dequeuePutQueue.isEmpty());
verify(mockMessageStore, times(6)).putMessage(any(MessageExtBrokerInner.class));
}
Expand Down

0 comments on commit 86fa02c

Please sign in to comment.