Skip to content

Commit 5eef4ad

Browse files
committed
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 elastic#37882.
1 parent 6aafe47 commit 5eef4ad

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transform/TransformIntegrationTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
import org.elasticsearch.script.MockScriptPlugin;
1616
import org.elasticsearch.script.Script;
1717
import org.elasticsearch.script.ScriptType;
18+
import org.elasticsearch.test.junit.annotations.TestLogging;
1819
import org.elasticsearch.xpack.watcher.condition.InternalAlwaysCondition;
1920
import org.elasticsearch.xpack.watcher.support.search.WatcherSearchTemplateRequest;
2021
import org.elasticsearch.xpack.watcher.test.AbstractWatcherIntegrationTestCase;
@@ -156,7 +157,7 @@ public void testScriptTransform() throws Exception {
156157
assertThat(response.getHits().getAt(0).getSourceAsMap().get("key3").toString(), equalTo("20"));
157158
}
158159

159-
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/37882")
160+
@TestLogging("org.elasticsearch.xpack.watcher:DEBUG")
160161
public void testSearchTransform() throws Exception {
161162
createIndex("my-condition-index", "my-payload-index");
162163
ensureGreen("my-condition-index", "my-payload-index");

0 commit comments

Comments
 (0)