This is an automated email from the ASF dual-hosted git repository.

iluo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo.git


The following commit(s) were added to refs/heads/master by this push:
     new 3d2a0f8  make unit test stable (#1805)
3d2a0f8 is described below

commit 3d2a0f80464884dccffbfedb4c3b5126f792a22b
Author: Ian Luo <[email protected]>
AuthorDate: Tue May 15 18:52:54 2018 +0800

    make unit test stable (#1805)
---
 .../dubbo/common/threadpool/support/cached/CachedThreadPoolTest.java    | 2 +-
 .../dubbo/common/threadpool/support/eager/EagerThreadPoolTest.java      | 2 +-
 .../dubbo/common/threadpool/support/fixed/FixedThreadPoolTest.java      | 2 +-
 .../dubbo/common/threadpool/support/limited/LimitedThreadPoolTest.java  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/dubbo-common/src/test/java/com/alibaba/dubbo/common/threadpool/support/cached/CachedThreadPoolTest.java
 
b/dubbo-common/src/test/java/com/alibaba/dubbo/common/threadpool/support/cached/CachedThreadPoolTest.java
index 63c7c93..083af0f 100644
--- 
a/dubbo-common/src/test/java/com/alibaba/dubbo/common/threadpool/support/cached/CachedThreadPoolTest.java
+++ 
b/dubbo-common/src/test/java/com/alibaba/dubbo/common/threadpool/support/cached/CachedThreadPoolTest.java
@@ -66,7 +66,7 @@ public class CachedThreadPoolTest {
             }
         });
 
-        latch.await(5000, TimeUnit.MICROSECONDS);
+        latch.await();
         assertThat(latch.getCount(), is(0L));
     }
 
diff --git 
a/dubbo-common/src/test/java/com/alibaba/dubbo/common/threadpool/support/eager/EagerThreadPoolTest.java
 
b/dubbo-common/src/test/java/com/alibaba/dubbo/common/threadpool/support/eager/EagerThreadPoolTest.java
index a7f2408..8d3e939 100644
--- 
a/dubbo-common/src/test/java/com/alibaba/dubbo/common/threadpool/support/eager/EagerThreadPoolTest.java
+++ 
b/dubbo-common/src/test/java/com/alibaba/dubbo/common/threadpool/support/eager/EagerThreadPoolTest.java
@@ -67,7 +67,7 @@ public class EagerThreadPoolTest {
             }
         });
 
-        latch.await(5000, TimeUnit.MICROSECONDS);
+        latch.await();
         assertThat(latch.getCount(), is(0L));
     }
 
diff --git 
a/dubbo-common/src/test/java/com/alibaba/dubbo/common/threadpool/support/fixed/FixedThreadPoolTest.java
 
b/dubbo-common/src/test/java/com/alibaba/dubbo/common/threadpool/support/fixed/FixedThreadPoolTest.java
index faefe6f..9d285f6 100644
--- 
a/dubbo-common/src/test/java/com/alibaba/dubbo/common/threadpool/support/fixed/FixedThreadPoolTest.java
+++ 
b/dubbo-common/src/test/java/com/alibaba/dubbo/common/threadpool/support/fixed/FixedThreadPoolTest.java
@@ -67,7 +67,7 @@ public class FixedThreadPoolTest {
             }
         });
 
-        latch.await(5000, TimeUnit.MICROSECONDS);
+        latch.await();
         assertThat(latch.getCount(), is(0L));
     }
 
diff --git 
a/dubbo-common/src/test/java/com/alibaba/dubbo/common/threadpool/support/limited/LimitedThreadPoolTest.java
 
b/dubbo-common/src/test/java/com/alibaba/dubbo/common/threadpool/support/limited/LimitedThreadPoolTest.java
index b99ce6c..d58da06 100644
--- 
a/dubbo-common/src/test/java/com/alibaba/dubbo/common/threadpool/support/limited/LimitedThreadPoolTest.java
+++ 
b/dubbo-common/src/test/java/com/alibaba/dubbo/common/threadpool/support/limited/LimitedThreadPoolTest.java
@@ -65,7 +65,7 @@ public class LimitedThreadPoolTest {
             }
         });
 
-        latch.await(5000, TimeUnit.MICROSECONDS);
+        latch.await();
         assertThat(latch.getCount(), is(0L));
     }
 

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to