CDRouter Support

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

knowledge-base version 11.0

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.

Contents

×

About CDRouter

CDRouter is made by QA Cafe, a technology company based in Portsmouth, NH.

Get in touch via our Contact page or by following us on your favorite service: