[Koha-bugs] [Bug 6435] Added daemon mode parameters to rebuild_zebra.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Oct 6 03:55:11 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6435

--- Comment #30 from Doug Kingston <dpk at randomnotes.org> ---
Apply both patches above.  One is the real code and the small one fixes a typo.

Suggested test plan:
Invoke the daemon exercising all the options I added and observe it doing the
intended updates in line with the update interval.

1. Set up a test koha configuration (populate with data if you wish)
2. Ensure that the zebra database is up to date (rebuild_zebra.pl -b -a)
3. Stop any cronjob that may be updating zebra with rebuild_zebra.pl
4. Start rebuild_zebra in daemon mode (rebuild_zebra.pl -daemon -sleep 3 -b -a
v
5. TEST: observe the periodic message "queued records: 0" every 3 seconds. 
this will test the use of -sleep option.
6. Add an authority.
7. TEST: observe the daemon pick up the authority change and update zebra
(which should be within 3 seconds of completing the add operation)
8. TEST: check that you can search for the new authority from the admin
interface
9. Add a biblio.
10. TEST: observe teh daemon pickup up the biblio change and update zebra
(which should be within 3 seconds of completing the add operation)
11. TEST: check that you can search for the new biblio in either OPAC or admin
interface.

Possibly repeat steps 6-11 with authority and biblio modification and deletion.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list