Skip to content

Commit 8f1bda9

Browse files
committed
[CI] Renames Elasticsearch test suite tasks
1 parent 51aed08 commit 8f1bda9

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

elasticsearch-api/Rakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ namespace :test do
3838
t.exclude_pattern = 'spec/platinum/**/*_spec.rb'
3939
end
4040

41-
desc 'Run Rest API Spec tests'
41+
desc 'Run Elasticsearch test suite free tests.'
4242
RSpec::Core::RakeTask.new(:rest_api) do |t|
4343
test_dir = Rake.application.original_dir
4444
t.pattern = "#{test_dir}/spec/rest_api/rest_api_yaml_spec.rb"

rake_tasks/test_tasks.rake

+4-4
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,15 @@ namespace :test do
4747
end
4848
end
4949

50-
desc 'Run rest api tests'
51-
task rest_api: ['es:wait_for_green'] do
50+
desc 'Run Elasticsearch test suite free tests.'
51+
task es_free: ['es:wait_for_green'] do
5252
puts '-' * 80
5353
sh "cd #{CURRENT_PATH.join('elasticsearch-api')} && unset BUNDLE_GEMFILE && bundle exec rake test:rest_api"
5454
puts "\n"
5555
end
5656

57-
desc 'Run security (Platinum) rest api yaml tests'
58-
task security: 'es:wait_for_green' do
57+
desc 'Run Elasticsearch test suite platinum tests.'
58+
task es_platinum: 'es:wait_for_green' do
5959
puts '-' * 80
6060
sh "cd #{CURRENT_PATH.join('elasticsearch-api')} && unset BUNDLE_GEMFILE && TEST_SUITE=platinum bundle exec rake test:rest_api"
6161
puts "\n"

0 commit comments

Comments
 (0)