geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jche...@apache.org
Subject incubator-geode git commit: GEODE-1038: CI failure: DistributionAdvisorDUnitTest.testGenericAdvice
Date Wed, 09 Mar 2016 00:18:34 GMT
Repository: incubator-geode
Updated Branches:
  refs/heads/develop 3087c86f7 -> a42a2f311


GEODE-1038: CI failure: DistributionAdvisorDUnitTest.testGenericAdvice


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

Branch: refs/heads/develop
Commit: a42a2f311be2fec845cb769b216261630f931f09
Parents: 3087c86
Author: Jianxia Chen <jchen@pivotal.io>
Authored: Tue Mar 8 16:17:54 2016 -0800
Committer: Jianxia Chen <jchen@pivotal.io>
Committed: Tue Mar 8 16:17:54 2016 -0800

----------------------------------------------------------------------
 .../distributed/internal/DistributionAdvisorDUnitTest.java        | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/a42a2f31/geode-core/src/test/java/com/gemstone/gemfire/distributed/internal/DistributionAdvisorDUnitTest.java
----------------------------------------------------------------------
diff --git a/geode-core/src/test/java/com/gemstone/gemfire/distributed/internal/DistributionAdvisorDUnitTest.java
b/geode-core/src/test/java/com/gemstone/gemfire/distributed/internal/DistributionAdvisorDUnitTest.java
index 8e238ac..d11d22b 100644
--- a/geode-core/src/test/java/com/gemstone/gemfire/distributed/internal/DistributionAdvisorDUnitTest.java
+++ b/geode-core/src/test/java/com/gemstone/gemfire/distributed/internal/DistributionAdvisorDUnitTest.java
@@ -27,6 +27,7 @@ import com.gemstone.gemfire.distributed.internal.membership.InternalDistributedM
 import com.gemstone.gemfire.test.dunit.DistributedTestCase;
 import com.gemstone.gemfire.test.dunit.Invoke;
 import com.gemstone.gemfire.test.dunit.SerializableRunnable;
+import com.gemstone.gemfire.test.dunit.VM;
 
 /**
  *
@@ -66,7 +67,7 @@ public class DistributionAdvisorDUnitTest extends DistributedTestCase {
         }
       });
     Set ids = getSystem().getDistributionManager().getOtherNormalDistributionManagerIds();
-    assertEquals(4, ids.size());
+    assertEquals(VM.getVMCount(), ids.size());
     List profileList = new ArrayList();
     
     int i = 0;


Mime
View raw message