You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by st...@apache.org on 2018/06/18 14:32:32 UTC
tomee git commit: tweak ManagedScheduledExecutorServiceTest timing
Repository: tomee
Updated Branches:
refs/heads/master a205fb82e -> fe83aa562
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/fe83aa56
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/fe83aa56
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/fe83aa56
Branch: refs/heads/master
Commit: fe83aa56200e15e95d36398393293854e1685387
Parents: a205fb8
Author: Mark Struberg <st...@apache.org>
Authored: Mon Jun 18 16:31:37 2018 +0200
Committer: Mark Struberg <st...@apache.org>
Committed: Mon Jun 18 16:31:37 2018 +0200
----------------------------------------------------------------------
.../openejb/threads/ManagedScheduledExecutorServiceTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tomee/blob/fe83aa56/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());