-
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.
Tighten up
ThreadPool#assertCurrentThreadPool
(#108943)
As suggested in #108934, we can extract the exact executor name from the thread name with some simple string manipulations. Using this utility, this commit tightens up the existing assertions about the current executor. Co-authored-by: Henning Andersen <henning.andersen@elastic.co>
- Loading branch information
1 parent
13b36c1
commit 331b78f
Showing
3 changed files
with
23 additions
and
1 deletion.
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
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
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