lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject [39/47] lucene-solr:jira/solr-11000: SOLR-10996: Remove unused WAITING stage
Date Thu, 13 Jul 2017 15:38:36 GMT
SOLR-10996: Remove unused WAITING stage


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

Branch: refs/heads/jira/solr-11000
Commit: 29db9819ebb2fbb7b29e85daaae4d8d2ca6fdaf7
Parents: 9c8e829
Author: Shalin Shekhar Mangar <shalin@apache.org>
Authored: Thu Jul 13 12:08:03 2017 +0530
Committer: Shalin Shekhar Mangar <shalin@apache.org>
Committed: Thu Jul 13 12:08:03 2017 +0530

----------------------------------------------------------------------
 .../src/java/org/apache/solr/cloud/autoscaling/AutoScaling.java  | 1 -
 .../apache/solr/cloud/autoscaling/HttpTriggerListenerTest.java   | 2 +-
 .../apache/solr/cloud/autoscaling/TriggerIntegrationTest.java    | 4 ++--
 3 files changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/29db9819/solr/core/src/java/org/apache/solr/cloud/autoscaling/AutoScaling.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/cloud/autoscaling/AutoScaling.java b/solr/core/src/java/org/apache/solr/cloud/autoscaling/AutoScaling.java
index fa7311c..dcf455e 100644
--- a/solr/core/src/java/org/apache/solr/cloud/autoscaling/AutoScaling.java
+++ b/solr/core/src/java/org/apache/solr/cloud/autoscaling/AutoScaling.java
@@ -39,7 +39,6 @@ public class AutoScaling {
   }
 
   public enum EventProcessorStage {
-    WAITING,
     STARTED,
     ABORTED,
     SUCCEEDED,

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/29db9819/solr/core/src/test/org/apache/solr/cloud/autoscaling/HttpTriggerListenerTest.java
----------------------------------------------------------------------
diff --git a/solr/core/src/test/org/apache/solr/cloud/autoscaling/HttpTriggerListenerTest.java
b/solr/core/src/test/org/apache/solr/cloud/autoscaling/HttpTriggerListenerTest.java
index 528162e..06fe9a0 100644
--- a/solr/core/src/test/org/apache/solr/cloud/autoscaling/HttpTriggerListenerTest.java
+++ b/solr/core/src/test/org/apache/solr/cloud/autoscaling/HttpTriggerListenerTest.java
@@ -98,7 +98,7 @@ public class HttpTriggerListenerTest extends SolrCloudTestCase {
         "{" +
         "'name' : 'foo'," +
         "'trigger' : 'node_added_trigger'," +
-        "'stage' : ['WAITING', 'STARTED','ABORTED','SUCCEEDED', 'FAILED']," +
+        "'stage' : ['STARTED','ABORTED','SUCCEEDED', 'FAILED']," +
         "'beforeAction' : 'test'," +
         "'afterAction' : ['test']," +
         "'class' : '" + HttpTriggerListener.class.getName() + "'," +

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/29db9819/solr/core/src/test/org/apache/solr/cloud/autoscaling/TriggerIntegrationTest.java
----------------------------------------------------------------------
diff --git a/solr/core/src/test/org/apache/solr/cloud/autoscaling/TriggerIntegrationTest.java
b/solr/core/src/test/org/apache/solr/cloud/autoscaling/TriggerIntegrationTest.java
index 6e162f5..8ef935a 100644
--- a/solr/core/src/test/org/apache/solr/cloud/autoscaling/TriggerIntegrationTest.java
+++ b/solr/core/src/test/org/apache/solr/cloud/autoscaling/TriggerIntegrationTest.java
@@ -1016,7 +1016,7 @@ public class TriggerIntegrationTest extends SolrCloudTestCase {
         "{" +
         "'name' : 'foo'," +
         "'trigger' : 'node_added_trigger'," +
-        "'stage' : ['WAITING', 'STARTED','ABORTED','SUCCEEDED', 'FAILED']," +
+        "'stage' : ['STARTED','ABORTED','SUCCEEDED', 'FAILED']," +
         "'beforeAction' : 'test'," +
         "'afterAction' : ['test', 'test1']," +
         "'class' : '" + TestTriggerListener.class.getName() + "'" +
@@ -1031,7 +1031,7 @@ public class TriggerIntegrationTest extends SolrCloudTestCase {
         "{" +
         "'name' : 'bar'," +
         "'trigger' : 'node_added_trigger'," +
-        "'stage' : ['WAITING','FAILED','SUCCEEDED']," +
+        "'stage' : ['FAILED','SUCCEEDED']," +
         "'beforeAction' : ['test', 'test1']," +
         "'afterAction' : 'test'," +
         "'class' : '" + TestTriggerListener.class.getName() + "'" +


Mime
View raw message