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

Update InitialSyncTest unit test to avoid hardcoding FCV constants

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1.0-rc0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      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

              Assignee:
              vesselina.ratcheva Vesselina Ratcheva
              Reporter:
              xuerui.fa Xuerui Fa
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: