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

Refactor sleeping mechanism in implicitly_retry_on_migration_in_progress.js

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • CAR Team 2024-03-04, CAR Team 2024-03-18

      In implicitely_retry_on_migration_in_progress.js we have a call to sleep() function inside an assert.soon. This is an anti-pattern since the assert.soon already provide a mechanism to specify a delay between retry.

            Assignee:
            david.dominguez@mongodb.com David Dominguez Sal (Inactive)
            Reporter:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: