rmuir commented on issue #11887:
URL: https://github.com/apache/lucene/issues/11887#issuecomment-1297345527

   It runs much faster with this patch:
   ```
   --- 
a/lucene/core/src/test/org/apache/lucene/index/TestDocumentsWriterStallControl.java
   +++ 
b/lucene/core/src/test/org/apache/lucene/index/TestDocumentsWriterStallControl.java
   @@ -62,7 +62,7 @@ public class TestDocumentsWriterStallControl extends 
LuceneTestCase {
                @Override
                public void run() {
   
   -              int iters = atLeast(1000);
   +              int iters = atLeast(100);
                  for (int j = 0; j < iters; j++) {
                    ctrl.updateStalled(random().nextInt(stallProbability) == 0);
                    if (random().nextInt(5) == 0) { // thread 0 only updates
   ```


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