[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:
parent
14ffe290f7
commit
2cff8c4c32
|
@ -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")))
|
||||||
|
|
Loading…
Reference in New Issue