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 2017/08/28 18:12:42 UTC

geode git commit: GEODE-3527: use consistent value for all timeouts

Repository: geode
Updated Branches:
  refs/heads/develop 93ab56ce6 -> a2fffd4ef


GEODE-3527: use consistent value for all timeouts


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

Branch: refs/heads/develop
Commit: a2fffd4efe38d337dcb4b62d8c7f1fc811d207c6
Parents: 93ab56c
Author: Kirk Lund <kl...@apache.org>
Authored: Mon Aug 28 11:12:16 2017 -0700
Committer: Kirk Lund <kl...@apache.org>
Committed: Mon Aug 28 11:12:16 2017 -0700

----------------------------------------------------------------------
 .../internal/process/ControlFileWatchdogIntegrationTest.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/a2fffd4e/geode-core/src/test/java/org/apache/geode/internal/process/ControlFileWatchdogIntegrationTest.java
----------------------------------------------------------------------
diff --git a/geode-core/src/test/java/org/apache/geode/internal/process/ControlFileWatchdogIntegrationTest.java b/geode-core/src/test/java/org/apache/geode/internal/process/ControlFileWatchdogIntegrationTest.java
index 0ea13bc..08ca3ac 100644
--- a/geode-core/src/test/java/org/apache/geode/internal/process/ControlFileWatchdogIntegrationTest.java
+++ b/geode-core/src/test/java/org/apache/geode/internal/process/ControlFileWatchdogIntegrationTest.java
@@ -162,7 +162,7 @@ public class ControlFileWatchdogIntegrationTest {
 
     // assert
     verify(requestHandler, timeout(TEN_MINUTES_MILLIS)).handleRequest();
-    await().atMost(2, MINUTES).until(() -> assertThat(file).doesNotExist());
+    await().atMost(10, MINUTES).until(() -> assertThat(file).doesNotExist());
     assertThat(file).doesNotExist();
   }
 
@@ -207,7 +207,7 @@ public class ControlFileWatchdogIntegrationTest {
 
     // assert
     verify(requestHandler, timeout(TEN_MINUTES_MILLIS)).handleRequest();
-    await().atMost(2, MINUTES).until(() -> assertThat(watchdog.isAlive()).isFalse());
+    await().atMost(10, MINUTES).until(() -> assertThat(watchdog.isAlive()).isFalse());
     assertThat(file).doesNotExist();
   }