dweiss opened a new pull request, #15098: URL: https://github.com/apache/lucene/pull/15098
The test was decrementing the doc count before it was checking for thread termination condition (==0). The document assignment is random and it could happen certain threads started with 0 documents to add. Separately from the fix, the test itself is fishy to me. I didn't look MultiIndexMergeScheduler but the test uses concurrent queues, while all worker threads are under one big monitor lock... Makes to sense to me. Either it's a remnant of some refactoring or the test code should be revisited and cleaned up. Fixes #15091 -- 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]
