Skip to content

Commit d1cad41

Browse files
committed
[CI] Test Runner: Remove filters in waiting for cluster tasks
1 parent 90a667b commit d1cad41

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

api-spec-testing/test_file.rb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,6 @@ def wait_for_pending_tasks(client)
229229
end
230230

231231
def wait_for_cluster_tasks(client)
232-
tasks_filter = ['delete-index', 'remove-data-stream', 'ilm-history']
233232
time = Time.now.to_i
234233
count = 0
235234

@@ -239,9 +238,7 @@ def wait_for_cluster_tasks(client)
239238
next if task.empty?
240239

241240
LOGGER.debug "Pending cluster task: #{task}"
242-
tasks_filter.map do |filter|
243-
count += 1 if task['source'].include? filter
244-
end
241+
count += 1
245242
end
246243
break unless count.positive? && Time.now.to_i < (time + 30)
247244
end

0 commit comments

Comments
 (0)