[SERVER-44876] Add a parameter to resmoke.py to continue running a test until it fails Created: 27/Nov/19 Updated: 16/Sep/20 Resolved: 16/Jan/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Dianna Hohensee (Inactive) | Assignee: | Robert Guo (Inactive) |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | tig-resmoke | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Sprint: | STM 2020-01-23 |
| Participants: |
| Description |
|
I think this would be useful for local debugging when a test does not fail 100% of the time. There would be no need to guess how many repetitions to run to reproduce an inconsistent failure. |
| Comments |
| Comment by Robert Guo (Inactive) [ 16/Jan/20 ] |
|
Hi dianna.hohensee. We've been recommending the --repeat flag to satisfy your use case. You can pass in a very large number to have resmoke effectively run indefinitely. While a dedicated option for "running until failure" is more ergonomic, we've generally avoided adding new resmoke cmdline options that are not essential. The reason is that there are already so many of them that discoverability is proving to be a challenge. I'm going to close this ticket for now, but please do comment back or reopen this ticket if you (or anyone else) disagree or have questions. We would love to understand more about your user experience |