[Bug 2436] New: updated Zebra indexes not being read during test suite
http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=2436 Summary: updated Zebra indexes not being read during test suite Product: Koha Version: HEAD Platform: All OS/Version: All Status: NEW Severity: normal Priority: P3 Component: Test Suite AssignedTo: galen.charlton@liblime.com ReportedBy: galen.charlton@liblime.com QAContact: koha-bugs@lists.koha.org Observed failures in the 'batch3' tests of lib/KohaTest/ImportBatch/BatchStageCommitRevert.pm. Ended up determining that although records were properly reindexed by KohaTest->reindex_marc(), the changes were not being noticed by the persistent Z39.50 server connection held by C4::Context. Forcing a reconnection (in C4::Context->Zconn) with each query guarantees that the most recent version of the Zebra indexes are used, thus allowing the tests to pass. This may be a bug in C4::Context->Zconn, one in C4::Search::SimpleSearch, or in KohaTest->reindex_marc(), or may be a weird glitch in my local installation. Stick in the test suite component for now, but may change when I look at this again. ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
participants (1)
-
bugzilla-daemon@pippin.metavore.com