From: Ian Jackson Date: Tue, 24 Jan 2017 15:46:31 +0000 (+0000) Subject: timeouts: Print slightly better message X-Git-Tag: openstack-v11~120 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=e265cdfd65ef98518481b32972c40ee76ecabdfc;p=people%2Faperard%2Fosstest.git timeouts: Print slightly better message Signed-off-by: Ian Jackson --- diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm index 33081937..6ca8076f 100644 --- a/Osstest/TestSupport.pm +++ b/Osstest/TestSupport.pm @@ -339,8 +339,9 @@ sub target_adjust_timeout ($$) { my ($factor, $what) = @_; return unless defined $factor; return if $factor==1; - logm("(adjusting timeout by factor $factor, from $what)"); $$timeoutref *= $factor; + logm("(adjusting timeout by factor $factor to $$timeoutref,". + " due to $what)"); }; if ($ho->{Guest}) { my $context = $ho->{TimeoutContext} // 'general';