OpenSearch/x-pack/plugin
Andrei Dan d872db278a
Fix TimeSeriesLifecycleActionsIT.testShrinkAction (#51431) (#51467)
* Fix TimeSeriesLifecycleActionsIT.testShrinkAction

Shrinking a 6 shard index to 3 shards can be quite time consuming and
assertBusy probes the conditions at exponentially growing intervals.

This separates the one assertion that was used for all the conditions
into multiple assertBusy statements and increases the timeout for waiting
for the shrink to complete.

* Allow more time for shrink to complete

This commit allows more time for the shrink operation to complete in
testRetryFailedShrinkAction (separating the assertBusy calls too) and
testMoveToRolloverStep.

* Shrink to no more than 2 shards in tests

(cherry picked from commit 5fe780148fa3536915d61475b087896a5b9ace82)
Signed-off-by: Andrei Dan <andrei.dan@elastic.co>
2020-01-27 10:40:29 +00:00
..
analytics Revert "Begin moving date_histogram to offset rounding (backport of #50873) (#50978)" (#51239) 2020-01-21 08:50:02 -05:00
autoscaling Initial autoscaling commit (#51161) 2020-01-17 15:31:12 -05:00
ccr Clean soft-deletes setting in ccr tests (#51113) (#51372) 2020-01-23 16:31:47 -05:00
core Enable tests in FIPS 140 in JDK 11 (#49485) 2020-01-27 11:14:52 +02:00
deprecation Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
enrich Auto-format buildSrc (#51043) 2020-01-16 10:26:27 +00:00
frozen-indices Do not wrap soft-deletes reader for segment stats (#51331) 2020-01-23 08:43:06 -05:00
graph Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
ilm Fix TimeSeriesLifecycleActionsIT.testShrinkAction (#51431) (#51467) 2020-01-27 10:40:29 +00:00
logstash Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
mapper-flattened Add telemetry for flattened fields. (#48972) (#49125) 2019-11-18 12:29:42 -08:00
ml [7.x] Update quantiles document in the index the document belongs to (#51135) (#51415) 2020-01-27 10:13:02 +01:00
monitoring Add max_resource_units to enterprise license (#50910) 2020-01-14 12:37:05 +11:00
rollup Use more specific loggers in subclasses of TMNA (#50076) 2019-12-11 15:07:47 +00:00
search-business-rules Fix NPE in PinnedQuery call to DisjunctionMaxScorer. (#51047) (#51064) 2020-01-16 10:41:43 +00:00
security Enable tests in FIPS 140 in JDK 11 (#49485) 2020-01-27 11:14:52 +02:00
spatial Geo: Switch generated GeoJson type names to camel case (#50400) 2019-12-20 15:37:22 -05:00
sql SQL: add support for passing query parameters in REST API calls (#51029) (#51222) 2020-01-20 16:40:19 +02:00
src/test [7.x] [ML] Add _cat/ml/anomaly_detectors API (#51364) (#51408) 2020-01-24 11:54:22 -05:00
transform fix TransformRobustnessIT intermittent test failures 2020-01-24 15:19:11 +01:00
vectors Increase the number of vector dims to 2048 (#46895) 2019-11-20 07:47:33 -05:00
voting-only-node Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
watcher Update smoke test watcher test suite with the changes in master branch. 2020-01-24 14:02:55 +01:00
build.gradle Skip enterprise license tests in release build (#50182) 2019-12-16 10:11:21 +11:00