linux/tools/testing/ktest
Steven Rostedt (VMware) 3e1d367884 ktest: Add CONNECT_TIMEOUT to change the connection timeout time
Before ktest issues a reboot, it will try to connect to the target machine
to make sure that it is still alive. If the target does not respond within 5
seconds, it will power cycle the box instead of issuing a reboot.

Five seconds may be too short, and ktest may unnecessarially power cycle the
box. I have found 25 seconds seems to be a better timeout for this purpose.
But even 25 may be too arbitrary. Add a CONNECT_TIMEOUT option to let the
user determine the timeout time before rebooting. By default, it has been
raised to 25 seconds.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
2018-03-21 10:36:08 -04:00
..
examples ktest: Set CLOSE_CONSOLE_SIGNAL in the kvm.conf 2014-02-26 15:26:24 -05:00
compare-ktest-sample.pl License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ktest.pl ktest: Add CONNECT_TIMEOUT to change the connection timeout time 2018-03-21 10:36:08 -04:00
sample.conf ktest: Add CONNECT_TIMEOUT to change the connection timeout time 2018-03-21 10:36:08 -04:00