X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=lib%2FZOOM%2FIRSpy%2FTest%2FResultSet%2FNamed.pm;h=9acc097964caac615e96137eebc8bcfebf80821f;hb=b85e17784cf8c8bdcebaddb0fdd7ad2ba5d726e0;hp=fc1cc6481d1f63fb5401c07d11a72e85186d3d57;hpb=71e8cea6cf57e58a40885cb9298bc74bd5751dd3;p=irspy-moved-to-github.git diff --git a/lib/ZOOM/IRSpy/Test/ResultSet/Named.pm b/lib/ZOOM/IRSpy/Test/ResultSet/Named.pm index fc1cc64..9acc097 100644 --- a/lib/ZOOM/IRSpy/Test/ResultSet/Named.pm +++ b/lib/ZOOM/IRSpy/Test/ResultSet/Named.pm @@ -1,4 +1,3 @@ -# $Id: Named.pm,v 1.5 2007-03-15 11:38:53 mike Exp $ # See the "Main" test package for documentation @@ -86,7 +85,7 @@ sub completed_search_b { $error = 'hitcount'; } - if ($record ne $test_args->{'record_a'}) { + if (!defined $record || $record ne $test_args->{'record_a'}) { $conn->log('irspy_test', 'Named result set not supported: ', 'Mis-matching records'); $error = 'record'; @@ -104,6 +103,7 @@ sub error { my($conn, $task, $test_args, $exception) = @_; $conn->log("irspy_test", "Named resultset check failed:", $exception); + zoom_error_timeout_update($conn, $exception); return ZOOM::IRSpy::Status::TASK_DONE; }