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

sleep command should be willing to wait forever to acquire the lock

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.9
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • Fully Compatible
    • ALL
    • 9

      The (test-only) sleep command is designed to take a lock and sleep for a specified time while holding the lock. Currently it passes the maxTimeMS deadline as a deadline for acquiring a lock, which is leading to test failures. It should not do this - the lock acquisition is still interruptible by other means.

            Assignee:
            charlie.swanson@mongodb.com Charlie Swanson
            Reporter:
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: