You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by yu...@apache.org on 2019/06/28 11:20:01 UTC
[rocketmq-remoting] 26/39: Fix unstable unit test in the ci machine
This is an automated email from the ASF dual-hosted git repository.
yukon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/rocketmq-remoting.git
commit be939e2996c87a03ca765188349dcbf0e52e22ef
Author: yukon <yu...@apache.org>
AuthorDate: Wed Jun 5 22:15:56 2019 +0800
Fix unstable unit test in the ci machine
---
.../apache/rocketmq/remoting/impl/netty/NettyRemotingAbstractTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/remoting-core/remoting-impl/src/test/java/org/apache/rocketmq/remoting/impl/netty/NettyRemotingAbstractTest.java b/remoting-core/remoting-impl/src/test/java/org/apache/rocketmq/remoting/impl/netty/NettyRemotingAbstractTest.java
index 5537579..8303ae9 100644
--- a/remoting-core/remoting-impl/src/test/java/org/apache/rocketmq/remoting/impl/netty/NettyRemotingAbstractTest.java
+++ b/remoting-core/remoting-impl/src/test/java/org/apache/rocketmq/remoting/impl/netty/NettyRemotingAbstractTest.java
@@ -199,7 +199,7 @@ public class NettyRemotingAbstractTest extends BaseTest {
remotingAbstract.channelEventExecutor.start();
- assertThat(eventCount.tryAcquire(maxLimit, 1000, TimeUnit.MILLISECONDS)).isTrue();
+ assertThat(eventCount.tryAcquire(maxLimit, 3000, TimeUnit.MILLISECONDS)).isTrue();
assertThat(droppedEvent.tryAcquire(1, 10, TimeUnit.MILLISECONDS)).isFalse();
}