Enable test logging for TransformIntegrationTests#testSearchTransform.

There is already fairly detailed debug logging in the watcher framework, which
should hopefully help debug the failure.

Relates to #37882.
This commit is contained in:
Julie Tibshirani 2019-02-19 17:30:25 -08:00
parent 41ac6f9c55
commit f5b28ca69d
1 changed files with 2 additions and 1 deletions

View File

@ -15,6 +15,7 @@ import org.elasticsearch.protocol.xpack.watcher.PutWatchResponse;
import org.elasticsearch.script.MockScriptPlugin;
import org.elasticsearch.script.Script;
import org.elasticsearch.script.ScriptType;
import org.elasticsearch.test.junit.annotations.TestLogging;
import org.elasticsearch.xpack.watcher.condition.InternalAlwaysCondition;
import org.elasticsearch.xpack.watcher.support.search.WatcherSearchTemplateRequest;
import org.elasticsearch.xpack.watcher.test.AbstractWatcherIntegrationTestCase;
@ -156,7 +157,7 @@ public class TransformIntegrationTests extends AbstractWatcherIntegrationTestCas
assertThat(response.getHits().getAt(0).getSourceAsMap().get("key3").toString(), equalTo("20"));
}
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/37882")
@TestLogging("org.elasticsearch.xpack.watcher:DEBUG")
public void testSearchTransform() throws Exception {
createIndex("my-condition-index", "my-payload-index");
ensureGreen("my-condition-index", "my-payload-index");