dweiss commented on a change in pull request #2064:
URL: https://github.com/apache/lucene-solr/pull/2064#discussion_r517898320



##########
File path: 
lucene/misc/src/test/org/apache/lucene/misc/index/TestIndexSplitter.java
##########
@@ -60,9 +67,9 @@ public void test() throws Exception {
       iw.addDocument(doc);
     }
     iw.commit();
-    DirectoryReader iwReader = iw.getReader();
-    assertEquals(3, iwReader.leaves().size());
-    iwReader.close();
+    //DirectoryReader iwReader = iw.getReader();
+    //assertEquals(3, iwReader.leaves().size());
+    //iwReader.close();

Review comment:
       Or maybe switch to DirectoryReader.open(iw...) and keep the assertion? 
This is public.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to