View | Details | Raw Unified | Return to bug 8649
Collapse All | Expand All

(-)a/t/db_dependent/Search.t (-6 / +9 lines)
Lines 502-513 warning_like {( undef, $results_hashref, $facets_loop ) = Link Here
502
    $results_hashref->{'biblioserver'}->{"RECORDS"});
502
    $results_hashref->{'biblioserver'}->{"RECORDS"});
503
is($newresults[0]->{'alternateholdings_count'}, 1, 'Alternate holdings filled in correctly');
503
is($newresults[0]->{'alternateholdings_count'}, 1, 'Alternate holdings filled in correctly');
504
504
505
kill 9, $child;
505
END {
506
    if ($child) {
507
        kill 9, $child;
506
508
507
# Clean up the Zebra files since the child process was just shot
509
        # Clean up the Zebra files since the child process was just shot
508
510
509
find(sub { unlink($_) if ( -f $_ && m/\.(mf|pid|LCK)$/ ); }, "$datadir");
511
        find(sub { unlink($_) if ( -f $_ && m/\.(mf|pid|LCK)$/ ); }, "$datadir");
510
unlink("$datadir/var/run/zebradb/authoritysocket");
512
        unlink("$datadir/var/run/zebradb/authoritysocket");
511
unlink("$datadir/var/run/zebradb/bibliosocket");
513
        unlink("$datadir/var/run/zebradb/bibliosocket");
514
    }
515
}
512
516
513
1;
517
1;
514
- 

Return to bug 8649