OpenSearch/x-pack/qa
Zachary Tong 4da0b52a19
[TEST] Force a stop to save rollup state before continuing (#32787)
We only upgrade the ID when the state is saved in one of four scenarios:

- when we reach a checkpoint (every 50 pages)
- when we run out of data
- when explicitly stopped
- on failure

The test was relying on the pre-upgrade to finish, save state and then
the post-upgrade to start, hit the end of data and upgrade ID.  THEN
get the new doc and apply the new ID.

But I think this is vulnerable to timing issues. If the pre-upgrade
portion shutdown before it saved the state, when restarting we would run
through all the data from the beginning with the old ID, meaning both
docs would still have the old scheme.

This change makes the pre-upgrade wait for the job to go back to STARTED
so that we know it persisted the end point.  Post-upgrade, it stops and
restarts the job to ensure the state was persisted and the ID upgraded.

That _should_ rule out the above timing issue.

Closes #32773
2018-08-13 12:53:22 -04:00
..
audit-tests Add opaque_id to index audit logging (#32260) 2018-07-25 08:07:09 -07:00
core-rest-tests-with-security Rename ranking evaluation `quality_level` to `metric_score` (#32168) 2018-07-23 22:25:02 +02:00
full-cluster-restart [TEST] Force a stop to save rollup state before continuing (#32787) 2018-08-13 12:53:22 -04:00
kerberos-tests [Kerberos] Use canonical host name (#32588) 2018-08-06 23:51:43 +10:00
ml-basic-multi-node Build: Shadow x-pack:protocol into x-pack:plugin:core (#32240) 2018-07-24 11:53:04 -04:00
ml-disabled Build: Shadow x-pack:protocol into x-pack:plugin:core (#32240) 2018-07-24 11:53:04 -04:00
ml-native-multi-node-tests Clear Job#finished_time when it is opened (#32605) (#32755) 2018-08-10 13:52:00 -05:00
ml-no-bootstrap-tests Build: Shadow x-pack:protocol into x-pack:plugin:core (#32240) 2018-07-24 11:53:04 -04:00
ml-single-node-tests Build: Shadow x-pack:protocol into x-pack:plugin:core (#32240) 2018-07-24 11:53:04 -04:00
multi-cluster-search-security Build: Shadow x-pack:protocol into x-pack:plugin:core (#32240) 2018-07-24 11:53:04 -04:00
multi-node Build: Shadow x-pack:protocol into x-pack:plugin:core (#32240) 2018-07-24 11:53:04 -04:00
openldap-tests Build: Shadow x-pack:protocol into x-pack:plugin:core (#32240) 2018-07-24 11:53:04 -04:00
reindex-tests-with-security Build: Shadow x-pack:protocol into x-pack:plugin:core (#32240) 2018-07-24 11:53:04 -04:00
rolling-upgrade Tests: Disable rolling upgrade tests with system key on fips JVM (#32775) 2018-08-10 16:50:11 +02:00
rolling-upgrade-basic Switch x-pack rolling restart to new style Requests (#32339) 2018-07-31 21:04:33 -04:00
saml-idp-tests Build: Shadow x-pack:protocol into x-pack:plugin:core (#32240) 2018-07-24 11:53:04 -04:00
security-client-tests Build: Shadow x-pack:protocol into x-pack:plugin:core (#32240) 2018-07-24 11:53:04 -04:00
security-example-spi-extension Security: move User to protocol project (#32367) 2018-08-03 00:21:34 +03:00
security-migrate-tests Security: move User to protocol project (#32367) 2018-08-03 00:21:34 +03:00
security-setup-password-tests Build: Shadow x-pack:protocol into x-pack:plugin:core (#32240) 2018-07-24 11:53:04 -04:00
security-tools-tests Remove BouncyCastle dependency from runtime (#32193) 2018-07-21 00:03:58 +03:00
smoke-test-graph-with-security Build: Shadow x-pack:protocol into x-pack:plugin:core (#32240) 2018-07-24 11:53:04 -04:00
smoke-test-ml-with-security Build: Shadow x-pack:protocol into x-pack:plugin:core (#32240) 2018-07-24 11:53:04 -04:00
smoke-test-monitoring-with-watcher Build: Shadow x-pack:protocol into x-pack:plugin:core (#32240) 2018-07-24 11:53:04 -04:00
smoke-test-plugins Build: Shadow x-pack:protocol into x-pack:plugin:core (#32240) 2018-07-24 11:53:04 -04:00
smoke-test-plugins-ssl Build: Shadow x-pack:protocol into x-pack:plugin:core (#32240) 2018-07-24 11:53:04 -04:00
smoke-test-security-with-mustache Build: Shadow x-pack:protocol into x-pack:plugin:core (#32240) 2018-07-24 11:53:04 -04:00
smoke-test-watcher Build: Shadow x-pack:protocol into x-pack:plugin:core (#32240) 2018-07-24 11:53:04 -04:00
smoke-test-watcher-with-security Build: Shadow x-pack:protocol into x-pack:plugin:core (#32240) 2018-07-24 11:53:04 -04:00
sql SQL: Ignore H2 comparative tests for uppercasing/lowercasing string functions (#32604) 2018-08-09 19:28:48 +03:00
third-party Build: Shadow x-pack:protocol into x-pack:plugin:core (#32240) 2018-07-24 11:53:04 -04:00
transport-client-tests Build: Shadow x-pack:protocol into x-pack:plugin:core (#32240) 2018-07-24 11:53:04 -04:00
vagrant Packaging: Remove windows bin files from the tar distribution (#30596) 2018-06-18 19:02:51 +02:00
build.gradle Fix unknown licenses (#31223) 2018-06-09 07:28:41 -04:00