Skip to content

Commit 7bb1f42

Browse files
committed
Updates rake task namespace from elasticsearch to es
1 parent bfb0c7e commit 7bb1f42

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

rake_tasks/elasticsearch_tasks.rake

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
namespace :elasticsearch do
18+
namespace :es do
1919
desc 'Wait for elasticsearch cluster to be in green state'
2020
task :wait_for_green do
2121
require 'elasticsearch'

rake_tasks/test_tasks.rake

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,14 @@ namespace :test do
4848
end
4949

5050
desc 'Run rest api tests'
51-
task rest_api: ['elasticsearch:wait_for_green'] do
51+
task rest_api: ['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

5757
desc 'Run security (Platinum) rest api yaml tests'
58-
task security: 'elasticsearch:wait_for_green' do
58+
task security: '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)