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

txn_two_phase_commit_wait_for_majority_commit_after_stepup.js should not depend on timing

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

      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@mongodb.com Andrew Shuvalov (Inactive)
            Reporter:
            andrew.shuvalov@mongodb.com Andrew Shuvalov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: