Skip to content

Commit afb9947

Browse files
committed
Skips APIs that are not public in OTel tests
1 parent 93608d2 commit afb9947

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elasticsearch-api/spec/elasticsearch/api/perform_request_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
describe 'Perform request args' do
2424
Elasticsearch::API::FilesHelper.files.each do |filepath|
2525
spec = Elasticsearch::API::EndpointSpec.new(filepath)
26-
next if spec.module_namespace.flatten.first == '_internal'
26+
next if spec.module_namespace.flatten.first == '_internal' || spec.visibility != 'public'
2727

2828
# These are the path parts defined by the user in the method argument
2929
defined_path_parts = spec.path_params.inject({}) do |params, part|

0 commit comments

Comments
 (0)
close