You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ep...@apache.org on 2023/07/06 16:26:25 UTC

[solr] branch branch_9x updated: SOLR-15819 spurious failures from TestCircuitBreaker.testResponseWithCBTiming (#1756)

This is an automated email from the ASF dual-hosted git repository.

epugh pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/branch_9x by this push:
     new bd48416d2bc SOLR-15819 spurious failures from TestCircuitBreaker.testResponseWithCBTiming (#1756)
bd48416d2bc is described below

commit bd48416d2bc44a15b9cc3d2d8147e351b37a534e
Author: Alex <st...@apache.org>
AuthorDate: Thu Jul 6 09:25:41 2023 -0700

    SOLR-15819 spurious failures from TestCircuitBreaker.testResponseWithCBTiming (#1756)
---
 .../org/apache/solr/util/TestCircuitBreaker.java   | 23 ----------------------
 1 file changed, 23 deletions(-)

diff --git a/solr/core/src/test/org/apache/solr/util/TestCircuitBreaker.java b/solr/core/src/test/org/apache/solr/util/TestCircuitBreaker.java
index c9fe19be273..47c8d417c07 100644
--- a/solr/core/src/test/org/apache/solr/util/TestCircuitBreaker.java
+++ b/solr/core/src/test/org/apache/solr/util/TestCircuitBreaker.java
@@ -27,7 +27,6 @@ import java.util.concurrent.Future;
 import java.util.concurrent.atomic.AtomicInteger;
 import org.apache.solr.SolrTestCaseJ4;
 import org.apache.solr.common.SolrException;
-import org.apache.solr.common.params.CommonParams;
 import org.apache.solr.common.util.ExecutorUtil;
 import org.apache.solr.common.util.SolrNamedThreadFactory;
 import org.apache.solr.core.PluginInfo;
@@ -216,28 +215,6 @@ public class TestCircuitBreaker extends SolrTestCaseJ4 {
     }
   }
 
-  public void testResponseWithCBTiming() {
-    assertQ(
-        req("q", "*:*", CommonParams.DEBUG_QUERY, "true"),
-        "//str[@name='rawquerystring']='*:*'",
-        "//str[@name='querystring']='*:*'",
-        "//str[@name='parsedquery']='MatchAllDocsQuery(*:*)'",
-        "//str[@name='parsedquery_toString']='*:*'",
-        "count(//lst[@name='explain']/*)=3",
-        "//lst[@name='explain']/str[@name='1']",
-        "//lst[@name='explain']/str[@name='2']",
-        "//lst[@name='explain']/str[@name='3']",
-        "//str[@name='QParser']",
-        "count(//lst[@name='timing']/*)=4",
-        "//lst[@name='timing']/double[@name='time']",
-        "count(//lst[@name='circuitbreaker']/*)>0",
-        "//lst[@name='circuitbreaker']/double[@name='time']",
-        "count(//lst[@name='prepare']/*)>0",
-        "//lst[@name='prepare']/double[@name='time']",
-        "count(//lst[@name='process']/*)>0",
-        "//lst[@name='process']/double[@name='time']");
-  }
-
   private void removeAllExistingCircuitBreakers() {
     List<CircuitBreaker> registeredCircuitBreakers =
         h.getCore().getCircuitBreakerManager().getRegisteredCircuitBreakers();