projects
/
irspy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c1b070
)
End test early if the Explain database is unavailable.
author
Mike Taylor
<mike@indexdata.com>
Mon, 26 Feb 2007 18:48:50 +0000
(18:48 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Mon, 26 Feb 2007 18:48:50 +0000
(18:48 +0000)
lib/ZOOM/IRSpy/Test/Search/Explain.pm
patch
|
blob
|
history
diff --git
a/lib/ZOOM/IRSpy/Test/Search/Explain.pm
b/lib/ZOOM/IRSpy/Test/Search/Explain.pm
index
ab2cef2
..
fb3433b
100644
(file)
--- a/
lib/ZOOM/IRSpy/Test/Search/Explain.pm
+++ b/
lib/ZOOM/IRSpy/Test/Search/Explain.pm
@@
-1,4
+1,4
@@
-# $Id: Explain.pm,v 1.4 2007-02-23 15:03:44 mike Exp $
+# $Id: Explain.pm,v 1.5 2007-02-26 18:48:50 mike Exp $
# See the "Main" test package for documentation
@@
-56,6
+56,9
@@
sub error {
$conn->log("irspy_test", "Explain category lookup failed: ", $exception);
update($conn, $category, 0);
+ return ZOOM::IRSpy::Status::TEST_BAD
+ if $exception->code() == 109; # Database unavailable
+
return ZOOM::IRSpy::Status::TASK_DONE;
}