githubEdit

Retry Strategies

Failed tests can be automatically retried using the --retry flag. Retries are free of charge and capped at 2, giving a maximum of 3 total runs per test.

Usage

dcd cloud app.apk flows/ --retry 2

On failure, DeviceCloud will re-run the test up to the specified number of times, stopping as soon as a run passes. The final status reflects the last run.

Limitations

  • Maximum value is --retry 2 (3 runs total)

  • Only failed test executions are retried — configuration errors (invalid flow files, authentication failures, missing dependencies) will not be retried

  • Retries count toward your concurrency limit while running

circle-info

If your test is still failing after 2 retries, reach out on Discord for help diagnosing the root cause.

Last updated