Skip to content

Commit d5e661b

Browse files
committed
[Test] Only test perform_request when OTEL var is true
1 parent e58e276 commit d5e661b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

elasticsearch-api/Rakefile

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ namespace :test do
3535
task :unit
3636
RSpec::Core::RakeTask.new(:unit) do |t|
3737
t.pattern = 'spec/unit/**/*_spec.rb'
38+
t.exclude_pattern = 'spec/unit/perform_request_spec.rb' unless ENV['TEST_WITH_OTEL']
3839
end
3940

4041
desc 'Run unit and integration tests'

0 commit comments

Comments
 (0)