From a9e8ba6d3e01d894bc6582f4caa69a97b573271a Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Fri, 21 Dec 2012 16:20:19 +0000 Subject: [PATCH] Test::Search::Explain no longer returns TEST_BAD when the IR-Explain-1 database doesn't exist: the test is not "bad" in the IRSpy sense that other tests at the same level need to be skipped, but has completed successfully (and determined that Explain is not supported). --- lib/ZOOM/IRSpy/Test/Search/Explain.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ZOOM/IRSpy/Test/Search/Explain.pm b/lib/ZOOM/IRSpy/Test/Search/Explain.pm index 087b846..7467e26 100644 --- a/lib/ZOOM/IRSpy/Test/Search/Explain.pm +++ b/lib/ZOOM/IRSpy/Test/Search/Explain.pm @@ -55,7 +55,7 @@ sub error { update($conn, $category, 0); zoom_error_timeout_update($conn, $exception); - return ZOOM::IRSpy::Status::TEST_BAD + return ZOOM::IRSpy::Status::TEST_OK if ($exception->code() == 109 || # Database unavailable $exception->code() == 235); # Database does not exist -- 1.7.10.4