From e2b08a4d473e68ca5f1b868cc55f550585221be7 Mon Sep 17 00:00:00 2001 From: David Smiley Date: Thu, 26 Jul 2018 12:22:18 -0400 Subject: [PATCH] SOLR-11542: Add more logging via @LogLevel to diagnose rare failures --- .../update/processor/TimeRoutedAliasUpdateProcessorTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/solr/core/src/test/org/apache/solr/update/processor/TimeRoutedAliasUpdateProcessorTest.java b/solr/core/src/test/org/apache/solr/update/processor/TimeRoutedAliasUpdateProcessorTest.java index 999af052904..048cf5b9794 100644 --- a/solr/core/src/test/org/apache/solr/update/processor/TimeRoutedAliasUpdateProcessorTest.java +++ b/solr/core/src/test/org/apache/solr/update/processor/TimeRoutedAliasUpdateProcessorTest.java @@ -63,6 +63,7 @@ import org.apache.solr.request.SolrQueryRequest; import org.apache.solr.response.SolrQueryResponse; import org.apache.solr.update.UpdateCommand; import org.apache.solr.util.DefaultSolrThreadFactory; +import org.apache.solr.util.LogLevel; import org.junit.After; import org.junit.AfterClass; import org.junit.Before; @@ -109,6 +110,7 @@ public class TimeRoutedAliasUpdateProcessorTest extends SolrCloudTestCase { @Slow @Test + @LogLevel("org.apache.solr.update.processor.TimeRoutedAlias=DEBUG;org.apache.solr.cloud=DEBUG") public void test() throws Exception { String configName = TimeRoutedAliasUpdateProcessorTest.configName + getTestName(); createConfigSet(configName);