[Koha-bugs] [Bug 2436] New: updated Zebra indexes not being read during test suite
bugzilla-daemon at pippin.metavore.com
bugzilla-daemon at pippin.metavore.com
Thu Jul 31 01:16:32 CEST 2008
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 at liblime.com
ReportedBy: galen.charlton at liblime.com
QAContact: koha-bugs at 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.
More information about the Koha-bugs
mailing list