javanna commented on code in PR #13542:
URL: https://github.com/apache/lucene/pull/13542#discussion_r1695859578


##########
lucene/core/src/test/org/apache/lucene/search/TestSortRandom.java:
##########
@@ -119,7 +119,8 @@ private void testRandomStringSort(SortField.Type type) 
throws Exception {
       System.out.println("  reader=" + r);
     }
 
-    final IndexSearcher s = newSearcher(r, false);
+    // TODO this needs investigation, it fails with concurrency enabled (seed: 
393E6798D70D742D)
+    final IndexSearcher s = newSearcher(r, false, random.nextBoolean(), false);

Review Comment:
   I have fixed this test, specifically the scorer supplier implementation it 
relies on.



-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

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