X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=archive%2Ftest-server%2FREADME;fp=archive%2Ftest-server%2FREADME;h=98839681ccfc202fa3912a542b1079ad2ca79cd7;hb=5c12f71dbe7cf82d05b7ba0c3e5199e29fd93f80;hp=4d32c40f39eaaf53a777d831dca092ee3d9b1259;hpb=27b641de85601aba107741ddb6f143500600b32c;p=ZOOM-Perl-moved-to-github.git diff --git a/archive/test-server/README b/archive/test-server/README index 4d32c40..9883968 100644 --- a/archive/test-server/README +++ b/archive/test-server/README @@ -8,3 +8,23 @@ test-server.init -- script to run the test server from /etc/init.d test-server.cfg -- Zebra configuration file for the test server. test-server.pw -- password file for test server's Zebra configuration. +-- + +Over time, the Zebra database where the ZOOM-Perl package read-write +tests take place becomes bloated and unclean: when I checked on 15 +October 2010, there were over 15000 "sort-0.mf" files! As a +result, the test-suite becomes slower, to the point where +26-packages.t takes two and half minutes to run. + +When this happens, reset the database to a clean state: + +$ ssh mike@z3950.indexdata.com +$ cd ZOOM-Perl/archive/test-server +$ sudo /etc/init.d/zoom-perl-server stop +$ sudo zebraidx-2.0 -c test-server.cfg init + (This may take a few minutes!) +$ sudo /etc/init.d/zoom-perl-server start +$ exit + +Once this has been done, the time to run 26-packages.t should drop +back down to four or five seconds!