txn_two_phase_commit_wait_for_majority_commit_after_stepup.js should not depend on timing

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.0.0-rc11, 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The timeout in this fragment

      const stepDownSecs = 1;
      assert.commandWorked(coordPrimary.adminCommand({replSetStepDown: stepDownSecs, force: true}));
      

      is not essential for the test correctness. As the test failed with:

      "errmsg" : "By the time we were ready to step down, we were already past the time we were supposed to step down until",
      

      we should give more time to the step down command

              Assignee:
              Andrew Shuvalov (Inactive)
              Reporter:
              Andrew Shuvalov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: