jpountz commented on code in PR #996:
URL: https://github.com/apache/lucene/pull/996#discussion_r912762338


##########
lucene/test-framework/src/java/org/apache/lucene/tests/util/LuceneTestCase.java:
##########
@@ -2033,6 +2034,15 @@ protected LeafSlice[] slices(List<LeafReaderContext> 
leaves) {
       }
       ret.setSimilarity(classEnvRule.similarity);
       ret.setQueryCachingPolicy(MAYBE_CACHE_POLICY);
+      if (random().nextBoolean()) {

Review Comment:
   Right, actually timeout would change expectations about the output of 
`IndexSearcher` so I don't think we can do it here, we'd need to do this in 
tests that are specific to query timeouts?



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