mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
Currently in the recovery request tracker tests we place the futures into the future map on the GENERIC thread. It is possible that the test has already advanced past the point where we block on these futures before they are placed in the map. This introduces other potential failures as we expect all futures have been completed. This commit fixes the test by places the futures in the map prior to dispatching.