File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 15
15
# specific language governing permissions and limitations
16
16
# under the License.
17
17
18
- namespace :elasticsearch do
18
+ namespace :es do
19
19
desc 'Wait for elasticsearch cluster to be in green state'
20
20
task :wait_for_green do
21
21
require 'elasticsearch'
Original file line number Diff line number Diff line change @@ -48,14 +48,14 @@ namespace :test do
48
48
end
49
49
50
50
desc 'Run rest api tests'
51
- task rest_api : [ 'elasticsearch :wait_for_green' ] do
51
+ task rest_api : [ 'es :wait_for_green' ] do
52
52
puts '-' * 80
53
53
sh "cd #{ CURRENT_PATH . join ( 'elasticsearch-api' ) } && unset BUNDLE_GEMFILE && bundle exec rake test:rest_api"
54
54
puts "\n "
55
55
end
56
56
57
57
desc 'Run security (Platinum) rest api yaml tests'
58
- task security : 'elasticsearch :wait_for_green' do
58
+ task security : 'es :wait_for_green' do
59
59
puts '-' * 80
60
60
sh "cd #{ CURRENT_PATH . join ( 'elasticsearch-api' ) } && unset BUNDLE_GEMFILE && TEST_SUITE=platinum bundle exec rake test:rest_api"
61
61
puts "\n "
You can’t perform that action at this time.
0 commit comments