Skip to content

Commit 03fba60

Browse files
committed
[Test Runner] Skip wait for create-index-template-v2 cluster task
1 parent 139bef6 commit 03fba60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elasticsearch-api/api-spec-testing/wipe_cluster.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def wait_for_cluster_tasks(client)
277277
loop do
278278
results = client.cluster.pending_tasks
279279
results['tasks'].each do |task|
280-
names = ['health-node', 'cluster:monitor/tasks/lists']
280+
names = ['health-node', 'cluster:monitor/tasks/lists', 'create-index-template-v2']
281281
next if task.empty? || names.select { |n| task['source'].match? n }.any?
282282

283283
logger.debug "Pending cluster task: #{task}"

0 commit comments

Comments
 (0)