OpenSearch/qa/smoke-test-watcher-with-sec...
Alexander Reelsen 90c360d9d0 Watcher: Replace YAML tests needing to wait for watch execution (elastic/x-pack-elasticsearch#3995)
In order to check for the REST tests if triggering of watches with
security enabled works as expected, we have to add a watch and wait for
its background execution. In the REST tests the only wait is to wait for
this with a timeout. If the timeout is reached but the watch has not
been executed yet, the test will fail.

This commit replaces the YAML with a java based REST test, so that
helper methods like assertBusy() can be used and waiting for a watch to
be executed now works as expected.

relates elastic/x-pack-elasticsearch#3753

Original commit: elastic/x-pack-elasticsearch@fc39636ef7
2018-02-21 09:58:11 +01:00
..
src/test Watcher: Replace YAML tests needing to wait for watch execution (elastic/x-pack-elasticsearch#3995) 2018-02-21 09:58:11 +01:00
build.gradle test: index documents with the same type and increase root log level 2018-02-19 16:51:21 +01:00
roles.yml Tests: Remove @ClusterScope tests, create REST tests (elastic/x-pack-elasticsearch#2131) 2017-08-01 14:15:36 +02:00