Comment on relevant Level 1 searches.
[irspy-moved-to-github.git] / lib / ZOOM / IRSpy / Test / Search / Title.pm
index 2705be6..16d3a06 100644 (file)
@@ -1,4 +1,3 @@
-# $Id: Title.pm,v 1.9 2006-11-29 18:18:38 mike Exp $
 
 # See the "Main" test package for documentation
 
@@ -19,7 +18,7 @@ sub start {
     my($conn) = @_;
 
     $conn->irspy_search_pqf('@attr 1=4 mineral', undef, {},
-                           ZOOM::Event::RECV_SEARCH, \&found,
+                           ZOOM::Event::ZEND, \&found,
                            "exception", \&error);
 }
 
@@ -45,6 +44,7 @@ sub error {
     my $rec = $conn->record();
     $rec->append_entry("irspy:status", "<irspy:search_title ok='0'>" .
                       isodate(time()) . "</irspy:search_title>");
+    zoom_error_timeout_update($conn, $exception);
     return ZOOM::IRSpy::Status::TEST_BAD;
 }