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

max_time_ms.js test should always disable failpoints if an exception is thrown

    XMLWordPrintable

Details

    • Fully Compatible
    • v4.2
    • 3

    Description

      The max_time_ms.js test utilizes the maxTimeNeverTimeOut failpoint. This failpoint overrides a maxTimeMS deadline set by any command, allowing them to run indefinitely. If there is an assertion failure in the test after the failpoint is enabled, we may run subsequent tests in a test fixture without disabling the failpoint. This can cause issues (i.e. hangs) in other tests that expect a command to time out with a maxTimeMS expiration. We should make the test robust to exceptions by making sure that we always disable the failpoint in the case of an error.

      Attachments

        Activity

          People

            arun.banala@mongodb.com Arun Banala
            william.schultz@mongodb.com William Schultz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: