-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AbstractSearchableSnapshotsRestTestCase.testClearCache() should wait …
…for cache writes to complete (#70547) The test AbstractSearchableSnapshotsRestTestCase.testClearCache() sometimes fails because it assumes that all cache writes are completed when retrieving and comparing the searchable snapshots stat cached_bytes_written. This commit changes the test so that it now waits for searchable snapshots thread pools to finish to process cache related tasks before retrieving the stats. Backport of #70541 for 7.12
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 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