Apache Solr open-source search software
SOLR-15762 Always async cache for join query tests
Mike Drob9fe0ce4b7991
diff --git a/solr/core/src/test/org/apache/solr/TestCrossCoreJoin.java b/solr/core/src/test/org/apache/solr/TestCrossCoreJoin.javaindex 074e7c4f3cc..77f4afa91ee 100644--- a/solr/core/src/test/org/apache/solr/TestCrossCoreJoin.java+++ b/solr/core/src/test/org/apache/solr/TestCrossCoreJoin.java@@ -43,7 +43,8 @@ public class TestCrossCoreJoin extends SolrTestCaseJ4 {@BeforeClasspublic static void beforeTests() throws Exception {System.setProperty("enable.update.log", "false"); // schema12 doesn't support _version_-// initCore("solrconfig.xml","schema12.xml");+ System.setProperty("solr.filterCache.async", "true");+// initCore("solrconfig.xml","schema12.xml");// File testHome = createTempDir().toFile();// FileUtils.copyDirectory(getFile("solrj/solr"), testHome);diff --git a/solr/core/src/test/org/apache/solr/TestJoin.java b/solr/core/src/test/org/apache/solr/TestJoin.javaindex 057eeaa4d61..5a9b8c46e97 100644--- a/solr/core/src/test/org/apache/solr/TestJoin.java+++ b/solr/core/src/test/org/apache/solr/TestJoin.java@@ -43,6 +43,7 @@ public class TestJoin extends SolrTestCaseJ4 {@BeforeClasspublic static void beforeTests() throws Exception {System.setProperty("enable.update.log", "false"); // schema12 doesn't support _version_+ System.setProperty("solr.filterCache.async", "true");if (System.getProperty("solr.tests.IntegerFieldType").contains("Point")) { // all points change at the same time// point fields need docvaluesdiff --git a/solr/core/src/test/org/apache/solr/search/TestSolrQueryParser.java b/solr/core/src/test/org/apache/solr/search/TestSolrQueryParser.javaindex 39bf5d8db58..c58934b0e9c 100644--- a/solr/core/src/test/org/apache/solr/search/TestSolrQueryParser.java+++ b/solr/core/src/test/org/apache/solr/search/TestSolrQueryParser.java@@ -67,6 +67,7 @@ public class TestSolrQueryParser extends SolrTestCaseJ4 {public static void beforeClass() throws Exception {System.setProperty("enable.update.log", "false"); // schema12 doesn't support _version_System.setProperty("solr.max.booleanClauses", "42"); // lower for testing+ System.setProperty("solr.filterCache.async", "true"); // for testLocalParamsInQPinitCore("solrconfig.xml", "schema12.xml");createIndex();}diff --git a/solr/core/src/test/org/apache/solr/search/join/TestScoreJoinQPNoScore.java b/solr/core/src/test/org/apache/solr/search/join/TestScoreJoinQPNoScore.javaindex 59c481bae22..7685391fc53 100644--- a/solr/core/src/test/org/apache/solr/search/join/TestScoreJoinQPNoScore.java+++ b/solr/core/src/test/org/apache/solr/search/join/TestScoreJoinQPNoScore.java@@ -54,6 +54,7 @@ public class TestScoreJoinQPNoScore extends SolrTestCaseJ4 {@BeforeClasspublic static void beforeTests() throws Exception {System.setProperty("enable.update.log", "false"); // schema12 doesn't support _version_+ System.setProperty("solr.filterCache.async", "true");initCore("solrconfig-basic.xml","schema-docValuesJoin.xml");}diff --git a/solr/core/src/test/org/apache/solr/search/join/TestScoreJoinQPScore.java b/solr/core/src/test/org/apache/solr/search/join/TestScoreJoinQPScore.javaindex 8813b64ce49..865888e21d3 100644--- a/solr/core/src/test/org/apache/solr/search/join/TestScoreJoinQPScore.java+++ b/solr/core/src/test/org/apache/solr/search/join/TestScoreJoinQPScore.java@@ -48,6 +48,7 @@ public class TestScoreJoinQPScore extends SolrTestCaseJ4 {@BeforeClasspublic static void beforeTests() throws Exception {System.setProperty("enable.update.log", "false"); // schema12 doesn't support _version_+ System.setProperty("solr.filterCache.async", "true");initCore("solrconfig.xml", "schema12.xml");}