change test due to lucene open() changes - always multireader

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@794812 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2009-07-16 19:46:35 +00:00
parent d3bd1090a7
commit f89c2d9a29
1 changed files with 2 additions and 2 deletions

View File

@ -54,8 +54,8 @@ public class TestIndexSearcher extends AbstractSolrTestCase {
SolrIndexReader r2 = sr2.getSearcher().getReader();
// make sure the readers share the first segment
// TODO: doesn't currently work going from segment -> multi
// assertEquals(r1.getLeafReaders()[0], r2.getLeafReaders()[0]);
// Didn't work w/ older versions of lucene2.9 going from segment -> multi
assertEquals(r1.getLeafReaders()[0], r2.getLeafReaders()[0]);
assertU(adoc("id","5", "v_f","3.14159"));
assertU(adoc("id","6", "v_f","8983"));