s1monw commented on a change in pull request #1772: URL: https://github.com/apache/lucene-solr/pull/1772#discussion_r475387448
########## File path: lucene/core/src/test/org/apache/lucene/index/TestIndexWriterDelete.java ########## @@ -300,10 +300,11 @@ public void testDeleteAllSimple() throws IOException { modifier.close(); dir.close(); } - + public void testDeleteAllNoDeadLock() throws IOException, InterruptedException { Directory dir = newDirectory(); - final RandomIndexWriter modifier = new RandomIndexWriter(random(), dir); + final RandomIndexWriter modifier = new RandomIndexWriter(random(), dir, + newIndexWriterConfig().setMergePolicy(new MockRandomMergePolicy(random()))); Review comment: no it's really only to make sure we running more random merges since this triggered the issue. ---------------------------------------------------------------- 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