CDRouter Support

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

knowledge-base version 13.9

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/"

# -- 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.



About CDRouter

QA Cafe CDRouter is a comprehensive and powerful test automation solution focused on feature, security, and performance testing for broadband and enterprise edge gateways, Wi-Fi and mesh systems, and other CPE.

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