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

Update resmoke to support new repeatTests options

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.9
    • Component/s: Testing Infrastructure
    • Labels:
      None

      Description

      Add the following new options to control test repetition:

      • --repeatTestsTimeSecs
      • --repeatTestsMax

      These options help repeat a test until the --repeatTestsTimeSecs is reached. The default value, None, indicates no time limit specified and resmoke uses the --repeatTests value. An additional parameter, --repeatTestsMax, which would be used in conjunction with --repeatTests (minimum number of repetitions) to bound the --repeatTestsTimeSecs between these values. The test runs as follows:

      • At least --repeatTests times
      • Stops repeating when either the --repeatTestsTimeSecs or --repeatTestsMax is reached

      See SERVER-38911 for a proof of concept of this option.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jonathan.abrahams Jonathan Abrahams
              Reporter:
              jonathan.abrahams Jonathan Abrahams
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: