[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH 3/5] power_cycle_sleep: Change default sleep to 15s


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
  • Date: Fri, 25 Oct 2019 16:48:17 +0100
  • Authentication-results: esa2.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=ian.jackson@xxxxxxxxxxxxx; spf=Pass smtp.mailfrom=Ian.Jackson@xxxxxxxxxx; spf=None smtp.helo=postmaster@xxxxxxxxxxxxxxx
  • Cc: Jürgen Groß <jgross@xxxxxxxx>, Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
  • Delivery-date: Fri, 25 Oct 2019 15:48:35 +0000
  • Ironport-sdr: X34DhFu2tnLQgH8KHYoR8U/w9epd9NbsdMSWBYJa6qkjvf16+9nQQxRutiGp55Jv3jAO0LGWM/ FzbyBLIbkLGsoL7NEh4lHrKtYhkcVW9jBMleCajqOwPH7KtKgNlyqBplwwMUIYGWJADPDMaL40 +FCSYGcEep0GlYpbEMrIKMhdt96lmsHo1DzaRORSMfawb0wXu4ScZvtaPiLkhOaOvDSlGLMUEE A4gxNQHbGbg+gNkcvelKZV8EtIOs8ZMVqI7DuDvKzMiPiYTUXSDmKhfc0iCPRyvVMITWOhJGzG Kz4=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

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@xxxxxxxxxxxxx>
---
 Osstest/TestSupport.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
 }
-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.