mark just this method as @Slow, can easily take over a minute

This commit is contained in:
Robert Muir 2015-04-19 15:09:16 -04:00
parent b09d236fc0
commit 2ed711fc6f
1 changed files with 1 additions and 0 deletions

View File

@ -54,6 +54,7 @@ import static org.elasticsearch.test.hamcrest.ElasticsearchAssertions.*;
public class SearchWithRandomExceptionsTests extends ElasticsearchIntegrationTest { public class SearchWithRandomExceptionsTests extends ElasticsearchIntegrationTest {
@Test @Test
@Slow // maybe due to all the logging?
@TestLogging("action.search.type:TRACE,index.shard:TRACE") @TestLogging("action.search.type:TRACE,index.shard:TRACE")
public void testRandomDirectoryIOExceptions() throws IOException, InterruptedException, ExecutionException { public void testRandomDirectoryIOExceptions() throws IOException, InterruptedException, ExecutionException {
String mapping = XContentFactory.jsonBuilder(). String mapping = XContentFactory.jsonBuilder().