OpenSearch/server
Jonathan Little 676091aafb Protect ScriptedMetricIT test cases against failures on 0-doc shards (#32959) (#32968)
Randomized test conditions that cause some shards to have no docs on them
failed due to test asserts that relied on a lazy initialization side effect
from the map script. After this fix:

- Test cases with the relevant init script are protected
- Test cases with the relevant combine or reduce scripts were already
  protected, because the combine and reduce scripts safely handle this case.
2018-08-20 08:55:43 +01:00
..
licenses Upgrade to Lucene-7.5.0-snapshot-13b9e28f9d 2018-08-09 11:15:02 -05:00
src Protect ScriptedMetricIT test cases against failures on 0-doc shards (#32959) (#32968) 2018-08-20 08:55:43 +01:00
build.gradle Scripted metric aggregations: add deprecation warning and system property to control legacy params (#31597) 2018-08-17 13:11:18 +01:00