← Back to Explore
retry-exhaustion-goto
Tests that RETRY exhaustion with GOTO jumps to a recovery step
retries
Rundown
# RETRY Exhaustion GOTO
Tests that RETRY exhaustion with GOTO jumps to a recovery step.
## 1. Flaky step
- PASS: COMPLETE
- FAIL: RETRY 2 GOTO 2
Fails up to 2 times. If it exhausts, it jumps to the recovery step.
```bash
rd echo --result fail --result fail --result fail
```
## 2. Recovery
- PASS: COMPLETE
Recovery step reached from step 1 exhaustion.
```bash
rd echo "recovered"
``` Run
Fails three times, exhausts retry, jumps to recovery step
Initializing...
Initializing...
Step—/—