From 86fa02ca48c4d87fa579796ad14f6b2728f6007d Mon Sep 17 00:00:00 2001 From: Jamie Date: Mon, 9 Dec 2024 22:20:38 +0800 Subject: [PATCH] Reduce unit test execution time --- .../org/apache/rocketmq/store/timer/TimerMessageStoreTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/store/src/test/java/org/apache/rocketmq/store/timer/TimerMessageStoreTest.java b/store/src/test/java/org/apache/rocketmq/store/timer/TimerMessageStoreTest.java index 90f06cef322..a014e77b90e 100644 --- a/store/src/test/java/org/apache/rocketmq/store/timer/TimerMessageStoreTest.java +++ b/store/src/test/java/org/apache/rocketmq/store/timer/TimerMessageStoreTest.java @@ -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)); }