We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffea411 commit 139bef6Copy full SHA for 139bef6
elasticsearch-api/api-spec-testing/wipe_cluster.rb
@@ -277,7 +277,8 @@ def wait_for_cluster_tasks(client)
277
loop do
278
results = client.cluster.pending_tasks
279
results['tasks'].each do |task|
280
- next if task.empty?
+ names = ['health-node', 'cluster:monitor/tasks/lists']
281
+ next if task.empty? || names.select { |n| task['source'].match? n }.any?
282
283
logger.debug "Pending cluster task: #{task}"
284
count += 1
0 commit comments