How can I add extra delay when using RestartDut to reboot my device?

If you are using the testvar RestartDut to reboot your device before running any tests, you can also configure RestartDutDelay to add additional delay to the process. The RestartDutDelay testvar will add an additional delay, in seconds, after executing the command(s) specified in RestartDut.

Here’s and example configuration using RestartDut and RestartDutDelay:

# -- reboot the device using a script
testvar RestartDut "/usr/cdrouter-data/custom/scripts/reboot-device.sh"

# -- add an additional 60 delay before starting any tests
testvar RestartDutDelay 60

More information on power cycling your device can be found in this Knowledge Base article.