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

Migrate existing Replication unit tests over to use Mock Network Fixture

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Replication
    • Fully Compatible
    • Repl 2024-09-16, Repl 2024-09-30

      In SERVER-50154 we added a Mock Network Fixture to make testing network messages less of a headache. As part of this ticket we added a test using this mock to both initial_syncer_test and replication_coordinator_impl_elect_v1_test

      This ticket will server as a spike to learn how to use the Mock Network Fixture to be able to use it in more complicated POCs. We should time box this ticket to around a week, the goal is not to convert a specific number of tests over but to get some more tests added in each file while learning how to use the fixture.

            Assignee:
            xuerui.fa@mongodb.com Xuerui Fa
            Reporter:
            sean.zimmerman@mongodb.com Sean Zimmerman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: