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


##########
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:
   I wonder if we enable this randomly with a large timeout value, say 5 
minutes, that should never trigger an actual timeout during unit tests, would 
it exercise a different code path?



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