From ae4b9b33ee1950db65e83f24f35e7c8c44c97adc Mon Sep 17 00:00:00 2001 From: Tanna McClure Date: Fri, 11 Oct 2024 14:10:46 -0500 Subject: [PATCH 1/2] add exit code to output --- test/multiverse/lib/multiverse/suite.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/multiverse/lib/multiverse/suite.rb b/test/multiverse/lib/multiverse/suite.rb index 5a3efd9005..05489b019f 100755 --- a/test/multiverse/lib/multiverse/suite.rb +++ b/test/multiverse/lib/multiverse/suite.rb @@ -553,7 +553,7 @@ def child_command_line(env, instrumentation_method) def check_for_failure(env) if $? != 0 - OutputCollector.write(suite, env, red("#{suite.inspect} for Envfile entry #{env} failed!")) + OutputCollector.write(suite, env, red("#{suite.inspect} for Envfile entry #{env} failed! (exit: #{$?})")) OutputCollector.failed(suite, env) end Multiverse::Runner.notice_exit_status($?) From d97b9f2229292f7218dca9f6b1b409807d09a9b3 Mon Sep 17 00:00:00 2001 From: Tanna McClure Date: Fri, 11 Oct 2024 14:14:00 -0500 Subject: [PATCH 2/2] move rdkafka to its own group for multiverse --- .github/workflows/ci.yml | 2 +- .github/workflows/ci_cron.yml | 2 +- test/multiverse/lib/multiverse/runner.rb | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 156c7fc6a4..c652217e59 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -216,7 +216,7 @@ jobs: strategy: fail-fast: false matrix: - multiverse: [agent, ai, background, background_2, database, frameworks, httpclients, httpclients_2, rails, rest] + multiverse: [agent, ai, background, background_2, kafka, database, frameworks, httpclients, httpclients_2, rails, rest] ruby-version: [2.4.10, 3.3.5] steps: diff --git a/.github/workflows/ci_cron.yml b/.github/workflows/ci_cron.yml index 2efa9625f8..4a81061d2f 100644 --- a/.github/workflows/ci_cron.yml +++ b/.github/workflows/ci_cron.yml @@ -229,7 +229,7 @@ jobs: strategy: fail-fast: false matrix: - multiverse: [agent, ai, background, background_2, database, frameworks, httpclients, httpclients_2, rails, rest] + multiverse: [agent, ai, background, background_2, database, kafka, frameworks, httpclients, httpclients_2, rails, rest] ruby-version: [2.4.10, 2.5.9, 2.6.10, 2.7.8, 3.0.7, 3.1.6, 3.2.5, 3.3.5, 3.4.0-preview2] steps: - name: Configure git diff --git a/test/multiverse/lib/multiverse/runner.rb b/test/multiverse/lib/multiverse/runner.rb index 1224a1c1bd..a7470ed51e 100644 --- a/test/multiverse/lib/multiverse/runner.rb +++ b/test/multiverse/lib/multiverse/runner.rb @@ -102,6 +102,7 @@ def execute_suites(filter, opts) 'ai' => %w[ruby_openai], 'background' => %w[delayed_job sidekiq resque], 'background_2' => %w[rake], + 'kafka' => %w[rdkafka], 'database' => %w[elasticsearch mongo redis sequel], 'rails' => %w[active_record active_record_pg active_support_broadcast_logger active_support_logger rails rails_prepend activemerchant], 'frameworks' => %w[grape padrino roda sinatra],