OpenSearch/x-pack/qa
Jake Landis 1dab73929f
Watcher add stopped listener (#43939) (#45670)
When Watcher is stopped and there are still outstanding watches running
Watcher will report it self as stopped. In normal cases, this is not problematic.

However, for integration tests Watcher is started and stopped between
each test to help ensure a clean slate for each test. The tests are blocking
only on the stopped state and make an implicit assumption that all watches are
finished if the Watcher is stopped. This is an incorrect assumption since
Stopped really means, "I will not accept any more watches". This can lead to
un-predictable behavior in the tests such as message : "Watch is already queued
in thread pool" and state: "not_executed_already_queued".
This can also change the .watcher-history if watches linger between tests.

This commit changes the semantics of a manual stopping watcher to now mean:
"I will not accept any more watches AND all running watches are complete".
There is now an intermediary step "Stopping" and callback to allow transition
to a "Stopped" state when all Watches have completed.

Additionally since this impacts how long the tests will block waiting for a
"Stopped" state, the timeout has been increased.

Related: #42409
2019-08-22 10:54:29 -05:00
..
core-rest-tests-with-security Convert testclusters to use distro download plugin (#44253) (#44362) 2019-07-15 17:53:05 -07:00
evil-tests [Backport] Replace usages RandomizedTestingTask with built-in Gradle Test (#40978) (#40993) 2019-04-09 11:52:50 -07:00
full-cluster-restart [7.x][ML] Add regression analysis to DF analytics (#45292) (#45388) 2019-08-09 19:31:13 +03:00
kerberos-tests Convert testclusters to use distro download plugin (#44253) (#44362) 2019-07-15 17:53:05 -07:00
multi-cluster-search-security Convert testclusters to use distro download plugin (#44253) (#44362) 2019-07-15 17:53:05 -07:00
multi-node Convert testclusters to use distro download plugin (#44253) (#44362) 2019-07-15 17:53:05 -07:00
oidc-op-tests Convert testclusters to use distro download plugin (#44253) (#44362) 2019-07-15 17:53:05 -07:00
openldap-tests Remove stale test logging annotations (#43403) 2019-06-19 22:58:22 -04:00
reindex-tests-with-security Convert testclusters to use distro download plugin (#44253) (#44362) 2019-07-15 17:53:05 -07:00
rolling-upgrade [ML-DataFrame] Combine task_state and indexer_state in _stats (#45324) 2019-08-08 16:24:26 +01:00
rolling-upgrade-basic Provide names for all artifact repositories (#41857) 2019-05-07 06:35:28 -04:00
rolling-upgrade-multi-cluster Unmute testBiDirectionalIndexFollowing (#45641) (#45792) 2019-08-21 20:53:14 +02:00
saml-idp-tests Convert testclusters to use distro download plugin (#44253) (#44362) 2019-07-15 17:53:05 -07:00
security-client-tests [Backport] Remove dependency substitutions 7.x (#42866) 2019-06-04 13:50:23 -07:00
security-example-spi-extension Convert testclusters to use distro download plugin (#44253) (#44362) 2019-07-15 17:53:05 -07:00
security-migrate-tests [Backport] Remove dependency substitutions 7.x (#42866) 2019-06-04 13:50:23 -07:00
security-setup-password-tests Convert testclusters to use distro download plugin (#44253) (#44362) 2019-07-15 17:53:05 -07:00
security-tools-tests CLI tools: write errors to stderr instead of stdout (#45586) 2019-08-21 14:46:07 -04:00
smoke-test-monitoring-with-watcher Convert testclusters to use distro download plugin (#44253) (#44362) 2019-07-15 17:53:05 -07:00
smoke-test-plugins Convert testclusters to use distro download plugin (#44253) (#44362) 2019-07-15 17:53:05 -07:00
smoke-test-plugins-ssl Convert testclusters to use distro download plugin (#44253) (#44362) 2019-07-15 17:53:05 -07:00
smoke-test-security-with-mustache Convert testclusters to use distro download plugin (#44253) (#44362) 2019-07-15 17:53:05 -07:00
smoke-test-watcher Watcher add stopped listener (#43939) (#45670) 2019-08-22 10:54:29 -05:00
smoke-test-watcher-with-security Watcher add stopped listener (#43939) (#45670) 2019-08-22 10:54:29 -05:00
src/main/java/org/elasticsearch/xpack/test [7.x] [ML][Data Frame] Adding bwc tests for pivot transform (#43506) (#43929) 2019-07-03 16:39:38 -05:00
third-party Watcher add stopped listener (#43939) (#45670) 2019-08-22 10:54:29 -05:00
transport-client-tests [Backport] Remove dependency substitutions 7.x (#42866) 2019-06-04 13:50:23 -07:00
build.gradle Remove xpack dependencies from qa rest modules (#41134) (7.x backport) (#41202) 2019-04-15 19:14:43 +02:00