Skip to content

Commit 88c298d

Browse files
committed
[CI] Test Runner: Improves pending tasks logging
1 parent 2bdf8a3 commit 88c298d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

api-spec-testing/test_file.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ def wait_for_pending_tasks(client)
221221
results.each do |task|
222222
next if task.empty?
223223

224+
LOGGER.debug "Pending task: #{task}"
224225
count += 1 if task.include?(filter)
225226
end
226227
break unless count.positive? && Time.now.to_i < (time + 30)
@@ -237,7 +238,7 @@ def wait_for_cluster_tasks(client)
237238
results['tasks'].each do |task|
238239
next if task.empty?
239240

240-
LOGGER.info "Pending task: #{task}"
241+
LOGGER.debug "Pending cluster task: #{task}"
241242
tasks_filter.map do |filter|
242243
count += 1 if task['source'].include? filter
243244
end

0 commit comments

Comments
 (0)