Remove `movePrimary` calls from tests not needing it

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Minor - P4
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • CAR Team 2024-01-08
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      There are several tests that could avoid calling movePrimary. Purpose of this ticket is to readapt such tests in the following ways:

      • Tests unnecessarily invoking movePrimary:
        • Remove invocations
      • Tests invoking movePrimary right after enableSharding in order to place unsharded collections on a specific shard:
        • Invoke enableSharding with primaryShard argument

            Assignee:
            Pierlauro Sciarelli
            Reporter:
            Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: