Add the following new options to control test repetition:
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
SERVER-38911 for a proof of concept of this option.