| Ticket Hash: | 4b072de97c2b80e392d5e7e182fdf6d2f1d8a1dc | ||
| Title: | provide means to specify desire to rerun a test/step N times on fail | ||
| Status: | Open | Type: | Feature_Request |
| Severity: | Important | Priority: | |
| Subsystem: | Resolution: | ||
| Last Modified: |
2015-10-05 17:19:39 10.45 years ago |
Created: |
2015-10-05 17:19:39 10.45 years ago |
| Version Found In: | 1.6024 | ||
| User Comments: | ||||
bjbarcla added on 2015-10-05 17:19:39:
Motivation: there exist tests which, due to brittleness, environment instability or cosmic rays, fail 1 in N times and pass (N-1) in N times. It is not economical to make the test 100% reliable. Desired is a means to specify a test step may be rerun some specified # of times upon fail before reaching a final FAIL state. This should be in the testconfig file Possible extension of testconfig [ezsteps] format : [ezsteps] getoalibs getoalibs.sh oabuild[retry 3] oabuild.csh cleanup cleanup.sh In this example, the suffix on step "oabuild" is "retry 3" meaning an unsuccessful completion of any given iteration of this test will be retried 3 times until either success criteria are met or we have 3 unsuccessful runs in a row. The sample syntax above is not a hard requirement, it is just there to illustrate the desired level of control. | ||||