Skip to content

Commit

Permalink
test: Add minitest-stub-const
Browse files Browse the repository at this point in the history
This reduces the number of retries that run during tests
to speed up the tests
  • Loading branch information
kaylareopelle committed Oct 31, 2024
1 parent 4dc0f9f commit e7af001
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions exporter/otlp-logs/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@ group :test, :development do
gem 'opentelemetry-semantic_conventions', path: '../../semantic_conventions'
gem 'opentelemetry-test-helpers', path: '../../test_helpers'
end

group :test do
gem 'minitest-stub-const'
end
1 change: 1 addition & 0 deletions exporter/otlp-logs/test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@
require 'opentelemetry/exporter/otlp_logs'
require 'minitest/autorun'
require 'webmock/minitest'
require 'minitest/stub_const'

OpenTelemetry.logger = Logger.new(File::NULL)

0 comments on commit e7af001

Please sign in to comment.