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

Update InitialSyncTest unit test to avoid hardcoding FCV constants

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.1.0-rc0
    • None
    • None
    • Fully Compatible
    • Repl 2021-07-12, Repl 2021-07-26

    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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: