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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]