From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: [PATCH OSSTEST 1/6] Standalone: Collect logs modified in the last hour Date: Fri, 11 Oct 2013 16:54:18 +0100 Message-ID: <1381506863-1888-1-git-send-email-ian.campbell@citrix.com> References: <1381506785.24708.66.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1381506785.24708.66.camel@kazak.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: ian.jackson@eu.citrix.com Cc: Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On failure, when the console may have been silent for a considerable time, 1s is not long enough ago. --- Osstest/JobDB/Standalone.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Osstest/JobDB/Standalone.pm b/Osstest/JobDB/Standalone.pm index da35376..d3ff1df 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 -- 1.7.10.4