Fix how election_handoff.js checks for handoff

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • Fully Compatible
    • ALL
    • Repl 2023-04-17, Repl 2023-05-01, Repl 2023-05-15, Repl 2023-05-29, Repl 2024-05-13, Repl 2024-05-27, Repl 2024-06-10, Repl 2024-06-24, Repl 2024-11-11
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      There are some cases where tests that use election_handoff.js fail because this checkLog call does not find the log line in question. However, the logs actually do contain the line, the checkLog function somehow missed it. It's possible that during the test the log ran out of space and truncate the line we were looking for.

      We should instead have the test make use of failpoints to check that the handoff happens as expected.

            Assignee:
            Pavithra Vetriselvan
            Reporter:
            Samyukta Lanka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: