forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix InternalEngineTests.testMergeThreadLogging (elastic#102640) (elas…
…tic#102649) The test has to wait for all merge thread log messages (include Lucene ones) to be seen before reset the log level and stop the appender. Previous attempt wasn't enough: the test failure in elastic#90071 (comment) shows that Lucene's merge scheduler thread can log after the Elasticsearch one, and if the appender has been closed in the meanwhile it can fail the test. This change ensure that the appender saw the Merge Scheduler end message before resetting the log level and close the engine. Closes elastic#90071
- Loading branch information
Showing
1 changed file
with
34 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters