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

Speedup tenant_migration_recipient_service_test

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Sharding EMEA 2022-03-07

    Description

      TenantMigrationRecipientServiceTest needs more than 1 minute to run and the problem is hitting several times the defaultFindReplicaSetHostTimeoutMS of 15 seconds.

      We can speedup the test by simply overriding the default timeout with a lower value.

      With the proposed change the run time of the test drops from ~1 minute to ~18 secs

      Attachments

        Activity

          People

            tommaso.tocci@mongodb.com Tommaso Tocci
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: