You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2021/02/22 01:36:04 UTC
[lucene-solr] branch reference_impl_dev updated: @1380 Test
hardening.
This is an automated email from the ASF dual-hosted git repository.
markrmiller pushed a commit to branch reference_impl_dev
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/reference_impl_dev by this push:
new 2f8ff3a @1380 Test hardening.
2f8ff3a is described below
commit 2f8ff3a55bb61a77ef39b5b020740a7f2fd9ce8d
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Sun Feb 21 19:35:41 2021 -0600
@1380 Test hardening.
Took 13 minutes
---
.../solr/handler/extraction/ExtractingRequestHandlerTest.java | 1 +
.../apache/solr/cloud/overseer/ZkCollectionPropsCachingTest.java | 6 ++++++
solr/test-framework/src/resources/logconf/log4j2-fast.xml | 2 +-
solr/test-framework/src/resources/logconf/log4j2-startup-debug.xml | 2 ++
solr/test-framework/src/resources/logconf/log4j2-std-debug.xml | 3 +++
5 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/solr/contrib/extraction/src/test/org/apache/solr/handler/extraction/ExtractingRequestHandlerTest.java b/solr/contrib/extraction/src/test/org/apache/solr/handler/extraction/ExtractingRequestHandlerTest.java
index e4a2319..edcc84a 100644
--- a/solr/contrib/extraction/src/test/org/apache/solr/handler/extraction/ExtractingRequestHandlerTest.java
+++ b/solr/contrib/extraction/src/test/org/apache/solr/handler/extraction/ExtractingRequestHandlerTest.java
@@ -46,6 +46,7 @@ import org.junit.Test;
*
*
**/
+@LuceneTestCase.Nightly
public class ExtractingRequestHandlerTest extends SolrTestCaseJ4 {
@BeforeClass
diff --git a/solr/core/src/test/org/apache/solr/cloud/overseer/ZkCollectionPropsCachingTest.java b/solr/core/src/test/org/apache/solr/cloud/overseer/ZkCollectionPropsCachingTest.java
index d1b2416..c454655 100644
--- a/solr/core/src/test/org/apache/solr/cloud/overseer/ZkCollectionPropsCachingTest.java
+++ b/solr/core/src/test/org/apache/solr/cloud/overseer/ZkCollectionPropsCachingTest.java
@@ -28,6 +28,7 @@ import org.apache.solr.client.solrj.response.CollectionAdminResponse;
import org.apache.solr.cloud.SolrCloudTestCase;
import org.apache.solr.common.cloud.CollectionProperties;
import org.apache.solr.common.cloud.ZkStateReader;
+import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
@@ -52,6 +53,11 @@ public class ZkCollectionPropsCachingTest extends SolrCloudTestCase {
.configure();
}
+ @AfterClass
+ public static void afterZkCollectionPropsCachingTest() {
+ shutdownCluster();
+ }
+
@Before
@Override
public void setUp() throws Exception {
diff --git a/solr/test-framework/src/resources/logconf/log4j2-fast.xml b/solr/test-framework/src/resources/logconf/log4j2-fast.xml
index 53023cc..58e6b7f 100644
--- a/solr/test-framework/src/resources/logconf/log4j2-fast.xml
+++ b/solr/test-framework/src/resources/logconf/log4j2-fast.xml
@@ -29,7 +29,7 @@
</Appenders>
<Loggers>
-
+ <AsyncLogger name="org.apache.solr.update.LoggingInfoStream" level="OFF"/>
<AsyncRoot level="off">
<AppenderRef ref="STDOUT"/>
diff --git a/solr/test-framework/src/resources/logconf/log4j2-startup-debug.xml b/solr/test-framework/src/resources/logconf/log4j2-startup-debug.xml
index 9cd51b16..e649e92 100644
--- a/solr/test-framework/src/resources/logconf/log4j2-startup-debug.xml
+++ b/solr/test-framework/src/resources/logconf/log4j2-startup-debug.xml
@@ -77,6 +77,8 @@
<AsyncLogger name="com.google.inject.servlet" level="DEBUG"/>
+ <AsyncLogger name="org.apache.solr.update.LoggingInfoStream" level="OFF"/>
+
<AsyncRoot level="INFO">
<AppenderRef ref="STDERR_COLOR"/>
<AppenderRef ref="FILE2"/>
diff --git a/solr/test-framework/src/resources/logconf/log4j2-std-debug.xml b/solr/test-framework/src/resources/logconf/log4j2-std-debug.xml
index 7eb4338..f23f40e 100644
--- a/solr/test-framework/src/resources/logconf/log4j2-std-debug.xml
+++ b/solr/test-framework/src/resources/logconf/log4j2-std-debug.xml
@@ -61,6 +61,9 @@
<AsyncLogger name="org.apache.solr.common.ParWork" level="INFO"/>
+ <AsyncLogger name="org.apache.solr.update.LoggingInfoStream" level="OFF"/>
+
+
<AsyncLogger name="com.google.inject.servlet" level="INFO"/>
<AsyncLogger name="org.apache.solr.client.solrj.impl.Http2SolrClient" level="INFO"/>