Skip to content

Commit 2543d96

Browse files
committed
[Test] Only run perform_request_spec test when OTEL var is true
1 parent f8cdb2a commit 2543d96

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

elasticsearch-api/Rakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ namespace :test do
3636
RSpec::Core::RakeTask.new(:spec) do |t|
3737
t.pattern = 'spec/elasticsearch/api/**/*_spec.rb'
3838
t.exclude_pattern = 'spec/platinum/**/*_spec.rb'
39+
t.exclude_pattern += ',spec/elasticsearch/api/perform_request_spec.rb' unless ENV['TEST_WITH_OTEL']
3940
end
4041

4142
desc 'Run Rest API Spec tests'

0 commit comments

Comments
 (0)