diff mbox series

[OSSTEST] power_cycle_sleep: Change default sleep to 15s

Message ID 20191024104705.11894-1-ian.jackson@eu.citrix.com (mailing list archive)
State New, archived
Headers show
Series [OSSTEST] power_cycle_sleep: Change default sleep to 15s | expand

Commit Message

Ian Jackson Oct. 24, 2019, 10:47 a.m. UTC
5s is so short that when a host fails to respond we aren't sure if it
was just very idle and ran off its PSU's internal energy storage for
that period.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
 Osstest/TestSupport.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm
index 6b0ee7a2..9c99ee17 100644
--- a/Osstest/TestSupport.pm
+++ b/Osstest/TestSupport.pm
@@ -1097,7 +1097,7 @@  sub power_reboot_attempts ($$$;$$) {
 
 sub power_cycle_sleep ($) {
     my ($ho) = @_;
-    my $to = get_host_property($ho, 'power-cycle-time', 5);
+    my $to = get_host_property($ho, 'power-cycle-time', 15);
     logm("power-cycle: waiting ${to}s");
     sleep($to);
 }