From: Ian Campbell Date: Thu, 10 Oct 2013 13:45:50 +0000 (+0100) Subject: Standalone: Collect logs modified in the last hour X-Git-Tag: wip.xsm-13-actual.base~430 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=cc60e347126e973e563dd14f05dffbc7800b4a6f;p=people%2Fiwj%2Fosstest.git Standalone: Collect logs modified in the last hour On failure, when the console may have been silent for a considerable time, 1s is not long enough ago. --- diff --git a/Osstest/JobDB/Standalone.pm b/Osstest/JobDB/Standalone.pm index da35376f..d3ff1dfc 100644 --- a/Osstest/JobDB/Standalone.pm +++ b/Osstest/JobDB/Standalone.pm @@ -101,7 +101,8 @@ sub jobdb_check_other_job { } #method sub jobdb_flight_started_for_log_capture ($$) { #method my ($mo, $flight) = @_; - return time - 1; # just the most recent serial log then + return time - 60*60; # just the most recent serial log then, + # modified in the last hour } sub jobdb_enable_log_capture ($) { #method