Retry Strategies

Device Cloud provides retry functionality to handle flaky tests and temporary failures.

Basic Usage

Setting Retry Count

dcd cloud ... --retry 3

This will:

  • Run the test initially

  • Retry up to 3 times on failure

  • Stop on first success

  • Report final status

Understanding Retries

What Gets Retried

  • Failed test executions

  • Infrastructure issues

  • Device availability problems

What Doesn't Get Retried

  • Invalid flow files

  • Missing dependencies

  • Authentication failures

Cost Implications

Note: Retries are now free of charge but limited to 2 (for a total of 3 runs). If you're test is still failing after 2 retries, please ask for help on Discord.

Last updated

Was this helpful?