|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH OSSTEST 1/6] 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.
---
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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |