Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-47758

HBStepdownAndReconfigTest unit tests must properly wait for step down to complete before checking new term value

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.7.0
    • None
    • Replication
    • None
    • Fully Compatible
    • ALL
    • 0

    Description

      Some of the tests in the HBStepdownAndReconfigTest suite check for the node's new term after a step down, but if the step down is too slow, the 1 second sleep here won't be sufficient to ensure the step down has completed. We should make sure these tests don't check the new term until they are sure the step down is complete.

      Attachments

        Activity

          People

            william.schultz@mongodb.com William Schultz (Inactive)
            william.schultz@mongodb.com William Schultz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: