[SERVER-75546] Fix how election_handoff.js checks for handoff to Created: 31/Mar/23  Updated: 21/Jun/23

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Samyukta Lanka Assignee: Sean Zimmerman
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Assigned Teams:
Replication
Operating System: ALL
Sprint: Repl 2023-04-17, Repl 2023-05-01, Repl 2023-05-15, Repl 2023-05-29
Participants:
Linked BF Score: 7

 Description   

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.


Generated at Thu Feb 08 06:30:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.