[TEST] get trace logs for search packages
This commit is contained in:
parent
6bf18056b0
commit
2dc9392a34
|
@ -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?
|
||||
|
|
|
@ -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?
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue