提交 b8e1be8a 编写于 作者: K keranbingaa

modify unit test of producer

上级 34155096
...@@ -201,7 +201,7 @@ public class DefaultMQProducerTest { ...@@ -201,7 +201,7 @@ public class DefaultMQProducerTest {
public void onException(Throwable e) { public void onException(Throwable e) {
} }
}); });
countDownLatch.await(20000L, TimeUnit.MILLISECONDS); countDownLatch.await(8000L, TimeUnit.MILLISECONDS);
assertThat(cc.get()).isEqualTo(1); assertThat(cc.get()).isEqualTo(1);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册