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

Update InitialSyncTest unit test to avoid hardcoding FCV constants

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Repl 2021-07-12, Repl 2021-07-26

      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.

            Assignee:
            vesselina.ratcheva@mongodb.com Vesselina Ratcheva (Inactive)
            Reporter:
            xuerui.fa@mongodb.com Xuerui Fa
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: