From e67847ca8cdf6ed6331f0bd3262016cadd07374f Mon Sep 17 00:00:00 2001 From: Alexander Reelsen Date: Fri, 28 Oct 2016 11:00:09 +0200 Subject: [PATCH] Tests: Increase logging to get more sync inside My current assumption is, that creating the templates is not yet finished (as this is async), so that we need to add another check that the templates have been added before continuing. Relates elastic/elasticsearch#3892 Original commit: elastic/x-pack-elasticsearch@3880d200a13a2ec1459227b32d338281e1865d26 --- .../xpack/watcher/history/HistoryStoreSettingsTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elasticsearch/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryStoreSettingsTests.java b/elasticsearch/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryStoreSettingsTests.java index 0a3ddb83a4f..0be41e09f42 100644 --- a/elasticsearch/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryStoreSettingsTests.java +++ b/elasticsearch/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryStoreSettingsTests.java @@ -18,7 +18,7 @@ import static org.hamcrest.Matchers.equalTo; import static org.hamcrest.Matchers.nullValue; import static org.hamcrest.core.Is.is; -@TestLogging("org.elasticsearch.cluster:DEBUG,org.elasticsearch.action.admin.cluster.settings:DEBUG,org.elasticsearch.watcher:DEBUG") +@TestLogging("org.elasticsearch.cluster:DEBUG,org.elasticsearch.action.admin.cluster.settings:DEBUG,org.elasticsearch.xpack.watcher:DEBUG") @ESIntegTestCase.ClusterScope(scope = TEST, numClientNodes = 0, transportClientRatio = 0, randomDynamicTemplates = false, supportsDedicatedMasters = false, numDataNodes = 1) public class HistoryStoreSettingsTests extends AbstractWatcherIntegrationTestCase {