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

Relax fault detector in some disruption tests #38101

Commits on Jan 31, 2019

  1. Relax fault detector in some disruption tests

    Today we use `AbstractDisruptionTestCase` to test the behaviour of things like
    master elections in the presence of cluster disruptions. These tests have
    rather enthusiastic fault detection settings, detecting a fault if a single
    ping fails, with a one-second timeout. Furthermore there are some tests that
    assert the identity of the master remains unchanged during some disruption, and
    these assertions fail rather often thanks to the overly sensitive fault
    detector.
    
    However in a number of these tests the fault detector need not be this
    sensitive. This commit moves some such tests into their own test suite and uses
    more sensible fault-detection settings to avoid the kind of master instability
    that is causing CI failures.
    
    Closes elastic#37699
    DaveCTurner committed Jan 31, 2019
    Configuration menu
    Copy the full SHA
    65505d9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b591310 View commit details
    Browse the repository at this point in the history
  3. Imports

    DaveCTurner committed Jan 31, 2019
    Configuration menu
    Copy the full SHA
    90a96bd View commit details
    Browse the repository at this point in the history
  4. Sets.newHashSet

    DaveCTurner committed Jan 31, 2019
    Configuration menu
    Copy the full SHA
    3825e6d View commit details
    Browse the repository at this point in the history