You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by er...@apache.org on 2020/06/25 23:29:32 UTC
[lucene-solr] branch master updated: SOLR-14588: fix failing test
This is an automated email from the ASF dual-hosted git repository.
erick pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/master by this push:
new cb6b031 SOLR-14588: fix failing test
cb6b031 is described below
commit cb6b0318a7a73b80bce986c453f426176646b6bc
Author: Erick Erickson <Er...@gmail.com>
AuthorDate: Thu Jun 25 19:03:34 2020 -0400
SOLR-14588: fix failing test
---
.../apache/solr/handler/component/DebugComponentTest.java | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/solr/core/src/test/org/apache/solr/handler/component/DebugComponentTest.java b/solr/core/src/test/org/apache/solr/handler/component/DebugComponentTest.java
index 0062fcf..5134d38 100644
--- a/solr/core/src/test/org/apache/solr/handler/component/DebugComponentTest.java
+++ b/solr/core/src/test/org/apache/solr/handler/component/DebugComponentTest.java
@@ -59,8 +59,10 @@ public class DebugComponentTest extends SolrTestCaseJ4 {
"//lst[@name='explain']/str[@name='2']",
"//lst[@name='explain']/str[@name='3']",
"//str[@name='QParser']",// make sure the QParser is specified
- "count(//lst[@name='timing']/*)=3", //should be three pieces to timings
+ "count(//lst[@name='timing']/*)=4", //should be four pieces to timings
"//lst[@name='timing']/double[@name='time']", //make sure we have a time value, but don't specify its result
+ "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",
@@ -83,8 +85,10 @@ public class DebugComponentTest extends SolrTestCaseJ4 {
"//lst[@name='explain']/str[@name='1']",
"//lst[@name='explain']/str[@name='2']",
"//lst[@name='explain']/str[@name='3']",
- "count(//lst[@name='timing']/*)=3", //should be three pieces to timings
+ "count(//lst[@name='timing']/*)=4", //should be four pieces to timings
"//lst[@name='timing']/double[@name='time']", //make sure we have a time value, but don't specify its result
+ "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",
@@ -98,8 +102,10 @@ public class DebugComponentTest extends SolrTestCaseJ4 {
"count(//str[@name='parsedquery_toString'])=0",
"count(//lst[@name='explain']/*)=0",
"count(//str[@name='QParser'])=0",// make sure the QParser is specified
- "count(//lst[@name='timing']/*)=3", //should be three pieces to timings
+ "count(//lst[@name='timing']/*)=4", //should be four pieces to timings
"//lst[@name='timing']/double[@name='time']", //make sure we have a time value, but don't specify its result
+ "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",