Skip to content

Commit 09db01c

Browse files
committed
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
1 parent 04cb965 commit 09db01c

File tree

1 file changed

+0
-1
lines changed
  • qa/rolling-upgrade/src/test/resources/rest-api-spec/test/upgraded_cluster

1 file changed

+0
-1
lines changed

qa/rolling-upgrade/src/test/resources/rest-api-spec/test/upgraded_cluster/10_basic.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@
187187

188188
- do:
189189
tasks.get:
190-
wait_for_completion: true
191190
task_id: $task_id
192191

193192
- is_false: node_failures

0 commit comments

Comments
 (0)