|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH 5/6] TestSupport::broken: Update status of `preparing' jobs
If the current job is preparing, and we call broken, then we should
update the status to that supplied by broken's caller.
Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
Osstest/TestSupport.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm
index e906dff..4187b6c 100644
--- a/Osstest/TestSupport.pm
+++ b/Osstest/TestSupport.pm
@@ -206,7 +206,7 @@ sub broken ($;$) {
$affected= $dbh_tests->do(<<END, {}, $newst, $flight, $job);
UPDATE jobs SET status=?
WHERE flight=? AND job=?
- AND (status='queued' OR status='running')
+ AND (status='queued' OR status='running' OR status='preparing')
END
});
die "BROKEN: $m; ". ($affected>0 ? "marked $flight.$job $newst"
--
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 |