diff --git a/ruby/lib/minitest/queue.rb b/ruby/lib/minitest/queue.rb index 2b73ff00..53a8726e 100644 --- a/ruby/lib/minitest/queue.rb +++ b/ruby/lib/minitest/queue.rb @@ -197,7 +197,7 @@ def current_timestamp def queue_reporters=(reporters) @queue_reporters ||= [] Reporters.use!(((Reporters.reporters || []) - @queue_reporters) + reporters) - Minitest.backtrace_filter.add_filter(%r{exe/minitest-queue|lib/ci/queue/}) + Minitest.backtrace_filter&.add_filter(%r{exe/minitest-queue|lib/ci/queue/}) @queue_reporters = reporters end diff --git a/ruby/lib/minitest/queue/runner.rb b/ruby/lib/minitest/queue/runner.rb index 17c49363..36246b13 100644 --- a/ruby/lib/minitest/queue/runner.rb +++ b/ruby/lib/minitest/queue/runner.rb @@ -186,6 +186,10 @@ def bisect_command load_tests @queue = CI::Queue::Bisect.new(queue_url, queue_config) Minitest.queue = queue + reporters = [ + TestDataReporter.new(namespace: queue_config&.namespace), + ] + Minitest.queue_reporters = reporters populate_queue step("Testing the failing test in isolation")