You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ec...@apache.org on 2021/04/29 19:21:15 UTC
[geode] branch support/1.12 updated: GEODE-7460: Disable network
partition detection,
which is not needed for this test and is causing flakiness
This is an automated email from the ASF dual-hosted git repository.
echobravo pushed a commit to branch support/1.12
in repository https://gitbox.apache.org/repos/asf/geode.git
The following commit(s) were added to refs/heads/support/1.12 by this push:
new e7f6da5 GEODE-7460: Disable network partition detection, which is not needed for this test and is causing flakiness
e7f6da5 is described below
commit e7f6da514f88e2546b41d92eb6eedc142e3091e3
Author: Ernest Burghardt <eb...@pivotal.io>
AuthorDate: Mon Apr 6 16:16:51 2020 -0700
GEODE-7460: Disable network partition detection, which is not needed for this test and is causing flakiness
(cherry picked from commit 9259401453dbfed78e53c3b12194c74a65177ac9)
---
.../java/org/apache/geode/distributed/DistributedMemberDUnitTest.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/geode-core/src/distributedTest/java/org/apache/geode/distributed/DistributedMemberDUnitTest.java b/geode-core/src/distributedTest/java/org/apache/geode/distributed/DistributedMemberDUnitTest.java
index 07074ba..f601a08 100755
--- a/geode-core/src/distributedTest/java/org/apache/geode/distributed/DistributedMemberDUnitTest.java
+++ b/geode-core/src/distributedTest/java/org/apache/geode/distributed/DistributedMemberDUnitTest.java
@@ -14,6 +14,7 @@
*/
package org.apache.geode.distributed;
+import static org.apache.geode.distributed.ConfigurationProperties.ENABLE_NETWORK_PARTITION_DETECTION;
import static org.apache.geode.distributed.ConfigurationProperties.GROUPS;
import static org.apache.geode.distributed.ConfigurationProperties.LOCATORS;
import static org.apache.geode.distributed.ConfigurationProperties.MCAST_PORT;
@@ -205,6 +206,7 @@ public class DistributedMemberDUnitTest extends JUnit4DistributedTestCase {
// disconnectFromDS();
Properties config = new Properties();
config.setProperty(ROLES, vmRoles[vm]);
+ config.setProperty(ENABLE_NETWORK_PARTITION_DETECTION, "false");
getSystem(config);
}
});