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:25:46 UTC
[solr] branch main 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 main
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/main by this push:
new fb2a06bf363 SOLR-15819 spurious failures from TestCircuitBreaker.testResponseWithCBTiming (#1756)
fb2a06bf363 is described below
commit fb2a06bf363677e25b971d1cc1ee6c2ebcddaabf
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();