From b8e1be8a7749bc2546b678b7d66b7ddd78ef320b Mon Sep 17 00:00:00 2001 From: keranbingaa Date: Tue, 12 Nov 2019 11:12:51 +0800 Subject: [PATCH] modify unit test of producer --- .../apache/rocketmq/client/producer/DefaultMQProducerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/test/java/org/apache/rocketmq/client/producer/DefaultMQProducerTest.java b/client/src/test/java/org/apache/rocketmq/client/producer/DefaultMQProducerTest.java index 7fb2621c..8e73ba5e 100644 --- a/client/src/test/java/org/apache/rocketmq/client/producer/DefaultMQProducerTest.java +++ b/client/src/test/java/org/apache/rocketmq/client/producer/DefaultMQProducerTest.java @@ -201,7 +201,7 @@ public class DefaultMQProducerTest { public void onException(Throwable e) { } }); - countDownLatch.await(20000L, TimeUnit.MILLISECONDS); + countDownLatch.await(8000L, TimeUnit.MILLISECONDS); assertThat(cc.get()).isEqualTo(1); } -- GitLab