Apache Solr open-source search software
SOLR-14588: Fix failing DebugComponentTest by reverting test to pre-patch state
Jan Høydahl574e399ce58f
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.javaindex 5134d38bb19..0062fcfb939 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,10 +59,8 @@ 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']/*)=4", //should be four pieces to timings+ "count(//lst[@name='timing']/*)=3", //should be three 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",@@ -85,10 +83,8 @@ 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']/*)=4", //should be four pieces to timings+ "count(//lst[@name='timing']/*)=3", //should be three 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",@@ -102,10 +98,8 @@ 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']/*)=4", //should be four pieces to timings+ "count(//lst[@name='timing']/*)=3", //should be three 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",