Enable Trace Logging for SearchWhileRelocatingTests
This commit is contained in:
parent
7e326bdb73
commit
2058a03547
|
@ -26,6 +26,7 @@ import org.elasticsearch.action.search.SearchResponse;
|
||||||
import org.elasticsearch.client.Client;
|
import org.elasticsearch.client.Client;
|
||||||
import org.elasticsearch.search.SearchHits;
|
import org.elasticsearch.search.SearchHits;
|
||||||
import org.elasticsearch.test.ElasticsearchIntegrationTest;
|
import org.elasticsearch.test.ElasticsearchIntegrationTest;
|
||||||
|
import org.elasticsearch.test.junit.annotations.TestLogging;
|
||||||
import org.hamcrest.Matchers;
|
import org.hamcrest.Matchers;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
|
@ -49,6 +50,7 @@ public class SearchWhileRelocatingTests extends ElasticsearchIntegrationTest {
|
||||||
testSearchAndRelocateConcurrently(0);
|
testSearchAndRelocateConcurrently(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestLogging("org.elasticsearch.action.search.type:TRACE")
|
||||||
@Test
|
@Test
|
||||||
public void testSearchAndRelocateConcurrently1Replicas() throws Exception {
|
public void testSearchAndRelocateConcurrently1Replicas() throws Exception {
|
||||||
testSearchAndRelocateConcurrently(1);
|
testSearchAndRelocateConcurrently(1);
|
||||||
|
|
Loading…
Reference in New Issue