-# $Id: Explain.pm,v 1.3 2006-10-26 12:55:35 mike Exp $
+# $Id: Explain.pm,v 1.6 2007-03-05 12:15:11 mike Exp $
# See the "Main" test package for documentation
$conn->irspy_search_pqf('@attr exp-1 1=1 ' . $category,
{'category' => $category},
{ databaseName => 'IR-Explain-1' },
- ZOOM::Event::RECV_SEARCH, \&found,
+ ZOOM::Event::ZEND, \&found,
exception => \&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
+ $exception->code() == 235); # Database does not exist
+
return ZOOM::IRSpy::Status::TASK_DONE;
}