mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-10 15:05:33 +00:00
This commit modifes the EsThreadPoolTestCase#info helper method to return null when info for the thread pool can not be found. This really should only happen for the "same" thread pool, and so we also assert that we only get to a place where there is no info if the thread pool that info was requested for is in fact the "same" thread pool. Not returning null here and instead throwing an exception would fail tests that tried to lookup info on the "same" thread pool.