geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bschucha...@apache.org
Subject incubator-geode git commit: fix GEODE-598 CI Failure: ReconnectDUnitTest.testReconnectALocator
Date Mon, 23 Nov 2015 23:34:09 GMT
Repository: incubator-geode
Updated Branches:
  refs/heads/develop dc780a89c -> c0d396ab1


fix GEODE-598 CI Failure: ReconnectDUnitTest.testReconnectALocator

changed the criterion used by the test to determine whether the Locator
has started to reconnect.


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

Branch: refs/heads/develop
Commit: c0d396ab16ac4cb598acdd29d1c57d19735ad305
Parents: dc780a8
Author: Bruce Schuchardt <bschuchardt@pivotal.io>
Authored: Mon Nov 23 15:33:54 2015 -0800
Committer: Bruce Schuchardt <bschuchardt@pivotal.io>
Committed: Mon Nov 23 15:33:54 2015 -0800

----------------------------------------------------------------------
 .../java/com/gemstone/gemfire/cache30/ReconnectDUnitTest.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/c0d396ab/gemfire-core/src/test/java/com/gemstone/gemfire/cache30/ReconnectDUnitTest.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/test/java/com/gemstone/gemfire/cache30/ReconnectDUnitTest.java
b/gemfire-core/src/test/java/com/gemstone/gemfire/cache30/ReconnectDUnitTest.java
index 5b53159..dd6f1fa 100644
--- a/gemfire-core/src/test/java/com/gemstone/gemfire/cache30/ReconnectDUnitTest.java
+++ b/gemfire-core/src/test/java/com/gemstone/gemfire/cache30/ReconnectDUnitTest.java
@@ -1099,10 +1099,10 @@ public class ReconnectDUnitTest extends CacheTestCase
         if (oldLocator != null) {
           WaitCriterion wc = new WaitCriterion() {
             public boolean done() {
-              return ((InternalLocator)oldLocator).isStopped();
+              return msys.isReconnecting();
             }
             public String description() {
-              return "waiting for locator to stop: " + oldLocator;
+              return "waiting for locator to start reconnecting: " + oldLocator;
             }
           };
           waitForCriterion(wc, 10000, 50, true);


Mime
View raw message