From 2dc9392a34f050bcbc8703596dc9243f1832071f Mon Sep 17 00:00:00 2001 From: Britta Weber Date: Fri, 12 Dec 2014 16:57:04 +0100 Subject: [PATCH] [TEST] get trace logs for search packages --- .../search/aggregations/bucket/DoubleTermsTests.java | 2 ++ .../search/aggregations/bucket/LongTermsTests.java | 2 ++ .../search/aggregations/bucket/StringTermsTests.java | 2 ++ 3 files changed, 6 insertions(+) diff --git a/src/test/java/org/elasticsearch/search/aggregations/bucket/DoubleTermsTests.java b/src/test/java/org/elasticsearch/search/aggregations/bucket/DoubleTermsTests.java index b45e416efe1..51e0657a963 100644 --- a/src/test/java/org/elasticsearch/search/aggregations/bucket/DoubleTermsTests.java +++ b/src/test/java/org/elasticsearch/search/aggregations/bucket/DoubleTermsTests.java @@ -33,6 +33,7 @@ import org.elasticsearch.search.aggregations.metrics.stats.Stats; import org.elasticsearch.search.aggregations.metrics.stats.extended.ExtendedStats; import org.elasticsearch.search.aggregations.metrics.sum.Sum; import org.elasticsearch.test.ElasticsearchIntegrationTest; +import org.elasticsearch.test.junit.annotations.TestLogging; import org.hamcrest.Matchers; import org.junit.Test; @@ -64,6 +65,7 @@ import static org.hamcrest.core.IsNull.notNullValue; * */ @ElasticsearchIntegrationTest.SuiteScopeTest +@TestLogging("org.elasticsearch.action.search:TRACE,org.elasticsearch.search:TRACE") public class DoubleTermsTests extends AbstractTermsTests { private static final int NUM_DOCS = 5; // TODO: randomize the size? diff --git a/src/test/java/org/elasticsearch/search/aggregations/bucket/LongTermsTests.java b/src/test/java/org/elasticsearch/search/aggregations/bucket/LongTermsTests.java index c869e7ce5d6..dffed138a18 100644 --- a/src/test/java/org/elasticsearch/search/aggregations/bucket/LongTermsTests.java +++ b/src/test/java/org/elasticsearch/search/aggregations/bucket/LongTermsTests.java @@ -32,6 +32,7 @@ import org.elasticsearch.search.aggregations.metrics.stats.Stats; import org.elasticsearch.search.aggregations.metrics.stats.extended.ExtendedStats; import org.elasticsearch.search.aggregations.metrics.sum.Sum; import org.elasticsearch.test.ElasticsearchIntegrationTest; +import org.elasticsearch.test.junit.annotations.TestLogging; import org.hamcrest.Matchers; import org.junit.Test; @@ -62,6 +63,7 @@ import static org.hamcrest.core.IsNull.notNullValue; * */ @ElasticsearchIntegrationTest.SuiteScopeTest +@TestLogging("org.elasticsearch.action.search:TRACE,org.elasticsearch.search:TRACE") public class LongTermsTests extends AbstractTermsTests { private static final int NUM_DOCS = 5; // TODO randomize the size? diff --git a/src/test/java/org/elasticsearch/search/aggregations/bucket/StringTermsTests.java b/src/test/java/org/elasticsearch/search/aggregations/bucket/StringTermsTests.java index 81eafb11ba0..90a4700a69e 100644 --- a/src/test/java/org/elasticsearch/search/aggregations/bucket/StringTermsTests.java +++ b/src/test/java/org/elasticsearch/search/aggregations/bucket/StringTermsTests.java @@ -37,6 +37,7 @@ import org.elasticsearch.search.aggregations.metrics.stats.extended.ExtendedStat import org.elasticsearch.search.aggregations.metrics.sum.Sum; import org.elasticsearch.search.aggregations.metrics.valuecount.ValueCount; import org.elasticsearch.test.ElasticsearchIntegrationTest; +import org.elasticsearch.test.junit.annotations.TestLogging; import org.hamcrest.Matchers; import org.junit.Test; @@ -71,6 +72,7 @@ import static org.hamcrest.core.IsNull.nullValue; * */ @ElasticsearchIntegrationTest.SuiteScopeTest +@TestLogging("org.elasticsearch.action.search:TRACE,org.elasticsearch.search:TRACE") public class StringTermsTests extends AbstractTermsTests { private static final String SINGLE_VALUED_FIELD_NAME = "s_value";