Tests: don't wait for completion while trying to get completed task

Nodes are reusing task ids after restart. So in some rare circumstances
the same task id might be assigned to the reindexing task stored by the
old cluster and the new task that is trying to retrieve the task
results. As a result, the get task request can timeout waiting on
itself. Since we already waited for the task to finish before restarting
the cluster, waiting for the task here doesn't make any sense to start
with.

Fixes #28732
This commit is contained in:
Igor Motov 2018-02-20 14:14:47 -05:00
parent eaa6b41b03
commit c90d0fdf6b
1 changed files with 0 additions and 1 deletions

View File

@ -141,7 +141,6 @@
- do: - do:
tasks.get: tasks.get:
wait_for_completion: true
task_id: $task_id task_id: $task_id
- is_false: node_failures - is_false: node_failures