You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by kl...@apache.org on 2015/12/28 19:15:26 UTC

incubator-geode git commit: GEODE-614: Increase maximum duration

Repository: incubator-geode
Updated Branches:
  refs/heads/develop 093ac12e5 -> 935b76a39


GEODE-614: Increase maximum duration

Increase ExpectedTimeout maximum duration to prevent false failures
when build job loses CPU for more than 2 seconds.


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/935b76a3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/935b76a3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/935b76a3

Branch: refs/heads/develop
Commit: 935b76a393fee86cc491afeba54e233eb0bf6a5e
Parents: 093ac12
Author: Kirk Lund <kl...@pivotal.io>
Authored: Tue Dec 22 14:28:07 2015 -0800
Committer: Kirk Lund <kl...@pivotal.io>
Committed: Mon Dec 28 10:14:53 2015 -0800

----------------------------------------------------------------------
 .../com/gemstone/gemfire/internal/process/PidFileJUnitTest.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/935b76a3/gemfire-core/src/test/java/com/gemstone/gemfire/internal/process/PidFileJUnitTest.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/test/java/com/gemstone/gemfire/internal/process/PidFileJUnitTest.java b/gemfire-core/src/test/java/com/gemstone/gemfire/internal/process/PidFileJUnitTest.java
index 89f786a..5f81c2b 100755
--- a/gemfire-core/src/test/java/com/gemstone/gemfire/internal/process/PidFileJUnitTest.java
+++ b/gemfire-core/src/test/java/com/gemstone/gemfire/internal/process/PidFileJUnitTest.java
@@ -139,7 +139,7 @@ public class PidFileJUnitTest {
     timeout.expect(TimeoutException.class);
     timeout.expectMessage("Invalid pid 'null' found");
     timeout.expectMinimumDuration(1000);
-    timeout.expectMaximumDuration(2000);
+    timeout.expectMaximumDuration(10000);
     timeout.expectTimeUnit(TimeUnit.MILLISECONDS);
     
     new PidFile(file).readPid(1500, TimeUnit.MILLISECONDS);