mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-10 06:55:32 +00:00
This integ test relied on the false assumption that `MockTaskManagerListener#onTaskUnregistered` was called *before* the task was unregistered. It is in fact called after the task is unregistered. This mistake led the test to *rarely* miss the task it was looking for and fail. Found by https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+5.x+multijob-unix-compatibility/os=ubuntu/4/consoleText