]> xenbits.xensource.com Git - people/iwj/osstest.git/commitdiff
Standalone: Collect logs modified in the last hour
authorIan Campbell <ian.campbell@citrix.com>
Thu, 10 Oct 2013 13:45:50 +0000 (14:45 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 11 Oct 2013 15:39:56 +0000 (16:39 +0100)
On failure, when the console may have been silent for a considerable time, 1s is not long enough ago.

Osstest/JobDB/Standalone.pm

index da35376f00fe7efa6ff7e3e450e42c252edf85a8..d3ff1dfc58d17ad0f4c8306c3fbed32e043c361f 100644 (file)
@@ -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