lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tflo...@apache.org
Subject [1/3] lucene-solr:jira/solr-10233: Don't run ChaosMonkey tests with connection loss yet
Date Fri, 05 May 2017 00:13:17 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/jira/solr-10233 484263360 -> 873d1da0e


Don't run ChaosMonkey tests with connection loss yet


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

Branch: refs/heads/jira/solr-10233
Commit: a1421ea2b9375c80d77e35eb519f01010c059ad7
Parents: 4842633
Author: Tomas Fernandez Lobbe <tflobbe@apache.org>
Authored: Thu May 4 17:08:39 2017 -0700
Committer: Tomas Fernandez Lobbe <tflobbe@apache.org>
Committed: Thu May 4 17:08:39 2017 -0700

----------------------------------------------------------------------
 .../src/java/org/apache/solr/cloud/ChaosMonkey.java             | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/a1421ea2/solr/test-framework/src/java/org/apache/solr/cloud/ChaosMonkey.java
----------------------------------------------------------------------
diff --git a/solr/test-framework/src/java/org/apache/solr/cloud/ChaosMonkey.java b/solr/test-framework/src/java/org/apache/solr/cloud/ChaosMonkey.java
index 05a42ee..355e601 100644
--- a/solr/test-framework/src/java/org/apache/solr/cloud/ChaosMonkey.java
+++ b/solr/test-framework/src/java/org/apache/solr/cloud/ChaosMonkey.java
@@ -67,8 +67,9 @@ public class ChaosMonkey {
   private Map<String,List<CloudJettyRunner>> shardToJetty;
   
   private static final Boolean MONKEY_ENABLED = Boolean.valueOf(System.getProperty("solr.tests.cloud.cm.enabled",
"true"));
-  private static final String CONN_LOSS = System.getProperty("solr.tests.cloud.cm.connloss");
-  private static final String EXP = System.getProperty("solr.tests.cloud.cm.exp");
+  // NOTE: CONN_LOSS and EXP are currently being set to "false" intentionally here. Remove
the default value once we know tests pass reliably under those conditions
+  private static final String CONN_LOSS = System.getProperty("solr.tests.cloud.cm.connloss",
"false");
+  private static final String EXP = System.getProperty("solr.tests.cloud.cm.exp", "false");
   
   private ZkTestServer zkServer;
   private ZkStateReader zkStateReader;


Mime
View raw message