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

   Yes I think the specific issue for these only impacts the multithreaded 
tests. there is synchronization not normally present. IMO it is enough to just 
tone down the number of threads. 
   
   For the top offender there (TestSpellChecker.testConcurrentAccess), i looked:
   
   ```java
   int numThreads = 5 + random().nextInt(5);
   ```
   
   If the test can just use 2 threads instead of up to 9 threads, it should 
still be enough to exercise the concurrency and should reduce the test time.
   


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

Reply via email to