tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject [2/3] tomee git commit: tweak ManagedScheduledExecutorServiceTest timing
Date Mon, 18 Jun 2018 15:30:49 GMT
tweak ManagedScheduledExecutorServiceTest timing

the bad feeling remains that I only fixed 1 of 30 ugly timings :/


Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/3d137162
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/3d137162
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/3d137162

Branch: refs/heads/fb_tomee8
Commit: 3d137162bd4d331d1104246567ff59e7a94e3d5d
Parents: e09145e
Author: Mark Struberg <struberg@apache.org>
Authored: Mon Jun 18 16:31:37 2018 +0200
Committer: Mark Struberg <struberg@apache.org>
Committed: Mon Jun 18 17:24:04 2018 +0200

----------------------------------------------------------------------
 .../openejb/threads/ManagedScheduledExecutorServiceTest.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/3d137162/container/openejb-core/src/test/java/org/apache/openejb/threads/ManagedScheduledExecutorServiceTest.java
----------------------------------------------------------------------
diff --git a/container/openejb-core/src/test/java/org/apache/openejb/threads/ManagedScheduledExecutorServiceTest.java
b/container/openejb-core/src/test/java/org/apache/openejb/threads/ManagedScheduledExecutorServiceTest.java
index 2809521..fb5af98 100644
--- a/container/openejb-core/src/test/java/org/apache/openejb/threads/ManagedScheduledExecutorServiceTest.java
+++ b/container/openejb-core/src/test/java/org/apache/openejb/threads/ManagedScheduledExecutorServiceTest.java
@@ -115,7 +115,7 @@ public class ManagedScheduledExecutorServiceTest {
         assertFalse(future.isCancelled());
 
         //Should easily get 5 invocations within 1 second
-        counter.await(2, TimeUnit.SECONDS);
+        counter.await(3, TimeUnit.SECONDS);
 
         future.cancel(true);
         assertEquals("Counter did not count down in time", 0L, counter.getCount());


Mime
View raw message