Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Protect ScriptedMetricIT test cases against failures on 0-doc shards (#32959) #32968

Commits on Aug 17, 2018

  1. Protect ScriptedMetricIT test cases against failures on 0-doc shards (e…

    …lastic#32959)
    
    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.
    rationull committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    0b4c69a View commit details
    Browse the repository at this point in the history