Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Deadlock from Thread.suspend in Test (elastic#39261)
* The lambda invoked by the `lockedExecutor` eventually gets JITed (which runs a static initializer that we will suspend in with a very tiny chance). * Fixed by creating the `Runnable` in the main test thread and using the same instance in all threads * Closes elastic#35686
- Loading branch information