Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install groovy plugin before running script test #13861

Merged
merged 1 commit into from Oct 6, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -31,6 +31,7 @@
# Load test utilities
load packaging_test_utils
load tar
load plugins

setup() {
skip_not_tar_gz
Expand Down Expand Up @@ -91,12 +92,9 @@ setup() {
# starting Elasticsearch so we don't have to wait for elasticsearch to scan for
# them.
install_elasticsearch_test_scripts

ESPLUGIN_COMMAND_USER=elasticsearch install_and_check_plugin lang groovy
start_elasticsearch_service

run_elasticsearch_tests

stop_elasticsearch_service

rm -rf "/tmp/elasticsearch"
}
Expand Up @@ -32,6 +32,7 @@
# Load test utilities
load packaging_test_utils
load os_package
load plugins

# Cleans everything for the 1st execution
setup() {
Expand Down Expand Up @@ -85,6 +86,7 @@ setup() {
# starting Elasticsearch so we don't have to wait for elasticsearch to scan for
# them.
install_elasticsearch_test_scripts
ESPLUGIN_COMMAND_USER=root install_and_check_plugin lang groovy
start_elasticsearch_service
run_elasticsearch_tests
}
Expand Down
Expand Up @@ -31,6 +31,7 @@
# Load test utilities
load packaging_test_utils
load os_package
load plugins

# Cleans everything for the 1st execution
setup() {
Expand Down Expand Up @@ -80,6 +81,7 @@ setup() {
# starting Elasticsearch so we don't have to wait for elasticsearch to scan for
# them.
install_elasticsearch_test_scripts
ESPLUGIN_COMMAND_USER=root install_and_check_plugin lang groovy
start_elasticsearch_service
run_elasticsearch_tests
}
Expand Down
Expand Up @@ -31,6 +31,7 @@
# Load test utilities
load packaging_test_utils
load os_package
load plugins

# Cleans everything for the 1st execution
setup() {
Expand Down Expand Up @@ -67,6 +68,7 @@ setup() {
# starting Elasticsearch so we don't have to wait for elasticsearch to scan for
# them.
install_elasticsearch_test_scripts
ESPLUGIN_COMMAND_USER=root install_and_check_plugin lang groovy
systemctl start elasticsearch.service
wait_for_elasticsearch_status
assert_file_exist "/var/run/elasticsearch/elasticsearch.pid"
Expand Down
Expand Up @@ -31,6 +31,7 @@
# Load test utilities
load packaging_test_utils
load os_package
load plugins

# Cleans everything for the 1st execution
setup() {
Expand Down Expand Up @@ -69,6 +70,7 @@ setup() {
# Install scripts used to test script filters and search templates before
# starting Elasticsearch so we don't have to wait for elasticsearch to scan for
# them.
ESPLUGIN_COMMAND_USER=root install_and_check_plugin lang groovy
install_elasticsearch_test_scripts
service elasticsearch start
wait_for_elasticsearch_status
Expand Down