[TEST] Increase logging for long running delete test.

This test is failing on jenkins but does not reproduce.

Original commit: elastic/x-pack-elasticsearch@2f873261c0
This commit is contained in:
Brian Murphy 2015-06-03 08:43:27 -04:00
parent 14ffe290f7
commit 2cff8c4c32
1 changed files with 2 additions and 2 deletions

View File

@ -6,6 +6,7 @@
package org.elasticsearch.watcher.test.integration; package org.elasticsearch.watcher.test.integration;
import org.apache.lucene.util.LuceneTestCase.Slow; import org.apache.lucene.util.LuceneTestCase.Slow;
import org.elasticsearch.test.junit.annotations.TestLogging;
import org.elasticsearch.watcher.support.Script; import org.elasticsearch.watcher.support.Script;
import org.elasticsearch.watcher.test.AbstractWatcherIntegrationTests; import org.elasticsearch.watcher.test.AbstractWatcherIntegrationTests;
import org.elasticsearch.watcher.transport.actions.delete.DeleteWatchResponse; import org.elasticsearch.watcher.transport.actions.delete.DeleteWatchResponse;
@ -34,8 +35,7 @@ public class WatchForceDeleteTests extends AbstractWatcherIntegrationTests {
return false; return false;
} }
@Test @Test @Slow @TestLogging("_root:DEBUG")
@Slow
public void testForceDelete_LongRunningWatch() throws Exception { public void testForceDelete_LongRunningWatch() throws Exception {
PutWatchResponse putResponse = watcherClient().preparePutWatch("_name").setSource(watchBuilder() PutWatchResponse putResponse = watcherClient().preparePutWatch("_name").setSource(watchBuilder()
.trigger(schedule(interval("1s"))) .trigger(schedule(interval("1s")))