vigyasharma opened a new pull request, #1025: URL: https://github.com/apache/lucene/pull/1025
With merge-on-refresh enabled, the `ReindexingMergePolicy` in this test, needs to overide `findFullFlushMerges()`, to wrap the input reader, so that merged segment gets fields from the parallel readers. ##### Testing: Ran the test on repeat on my dev box. Without the fix, it fails in a couple of runs. ```java % ./gradlew test --tests TestDemoParallelLeafReader.testRandomMultipleSchemaGensSameField -Dtests.seed=A7496D7D3957981A -Dtests.multiplier=3 -Dtests.locale=sr-Latn-BA -Dtests.timezone=Etc/GMT-7 -Dtests.asserts=true -Dtests.file.encoding=UTF-8 -Dtests.iters=500 -Dtests.failfast=true ... :lucene:core:test (SUCCESS): 500 test(s) ... ``` -- 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]
