[SERVER-58065] Update InitialSyncTest unit test to avoid hardcoding FCV constants Created: 24/Jun/21  Updated: 29/Oct/23  Resolved: 12/Jul/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Xuerui Fa Assignee: Vesselina Ratcheva (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-56366 Update FCV constants in server code b... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2021-07-12, Repl 2021-07-26
Participants:

 Description   

In InitialSyncerReturnsParseErrorWhenFCVFetcherReturnsNoVersion, we hardcode an FCV 4.4 constant. As a result, after upgrading to 5.0 LTS, this will break. We should update the unit test to use a GenericFCV constant or find some alternative way of testing the behavior.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 12/Jul/21 ]

Author:

{'name': 'Vesselina Ratcheva', 'email': 'vesselina.ratcheva@10gen.com', 'username': 'vessy-mongodb'}

Message: SERVER-58065 Fix initial sync test to avoid hardcoding FCV constant
Branch: master
https://github.com/mongodb/mongo/commit/92d3db8bb2929ab042b7930c775ade0d683b6342

Generated at Thu Feb 08 05:43:29 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.