Revert "timeouts: Call target_adjust_timeout for all build commands"
PATCH 1/2 Revert "timeouts: Call target_adjust_timeout for all build commands"
We actually do this already in tcmd, so this extra call adjusts it twice.
This reverts commit 21d141d98ecb07d30b839829da9837af80f80728.
--- Osstest/TestSupport.pm | 2 -- 1 file changed, 2 deletions(-)
Osstest/TestSupport.pm +0 -2
@@ -629,8 +629,6 @@ END export http_proxy END - target_adjust_timeout($ho, \$timeout); - target_cmd($ho, <<END.$distcc.$httpproxy.<<END.$script, $timeout); set -xe LC_ALL=C; export LC_ALL
Signature · 7 lines
2.1.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
PATCH 2/2 timeouts: Print slightly better message
Signed-off-by Ian Jackson <[email protected]>
--- Osstest/TestSupport.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Osstest/TestSupport.pm +2 -1
@@ -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';
Signature · 7 lines
2.1.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel