Merge pull request #13861 from brwe/vagrant-install-groovy
install groovy plugin before running script test
This commit is contained in:
commit
ed7c051586
|
@ -31,6 +31,7 @@
|
||||||
# Load test utilities
|
# Load test utilities
|
||||||
load packaging_test_utils
|
load packaging_test_utils
|
||||||
load tar
|
load tar
|
||||||
|
load plugins
|
||||||
|
|
||||||
setup() {
|
setup() {
|
||||||
skip_not_tar_gz
|
skip_not_tar_gz
|
||||||
|
@ -91,12 +92,9 @@ setup() {
|
||||||
# starting Elasticsearch so we don't have to wait for elasticsearch to scan for
|
# starting Elasticsearch so we don't have to wait for elasticsearch to scan for
|
||||||
# them.
|
# them.
|
||||||
install_elasticsearch_test_scripts
|
install_elasticsearch_test_scripts
|
||||||
|
ESPLUGIN_COMMAND_USER=elasticsearch install_and_check_plugin lang groovy
|
||||||
start_elasticsearch_service
|
start_elasticsearch_service
|
||||||
|
|
||||||
run_elasticsearch_tests
|
run_elasticsearch_tests
|
||||||
|
|
||||||
stop_elasticsearch_service
|
stop_elasticsearch_service
|
||||||
|
|
||||||
rm -rf "/tmp/elasticsearch"
|
rm -rf "/tmp/elasticsearch"
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,6 +32,7 @@
|
||||||
# Load test utilities
|
# Load test utilities
|
||||||
load packaging_test_utils
|
load packaging_test_utils
|
||||||
load os_package
|
load os_package
|
||||||
|
load plugins
|
||||||
|
|
||||||
# Cleans everything for the 1st execution
|
# Cleans everything for the 1st execution
|
||||||
setup() {
|
setup() {
|
||||||
|
@ -85,6 +86,7 @@ setup() {
|
||||||
# starting Elasticsearch so we don't have to wait for elasticsearch to scan for
|
# starting Elasticsearch so we don't have to wait for elasticsearch to scan for
|
||||||
# them.
|
# them.
|
||||||
install_elasticsearch_test_scripts
|
install_elasticsearch_test_scripts
|
||||||
|
ESPLUGIN_COMMAND_USER=root install_and_check_plugin lang groovy
|
||||||
start_elasticsearch_service
|
start_elasticsearch_service
|
||||||
run_elasticsearch_tests
|
run_elasticsearch_tests
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
# Load test utilities
|
# Load test utilities
|
||||||
load packaging_test_utils
|
load packaging_test_utils
|
||||||
load os_package
|
load os_package
|
||||||
|
load plugins
|
||||||
|
|
||||||
# Cleans everything for the 1st execution
|
# Cleans everything for the 1st execution
|
||||||
setup() {
|
setup() {
|
||||||
|
@ -80,6 +81,7 @@ setup() {
|
||||||
# starting Elasticsearch so we don't have to wait for elasticsearch to scan for
|
# starting Elasticsearch so we don't have to wait for elasticsearch to scan for
|
||||||
# them.
|
# them.
|
||||||
install_elasticsearch_test_scripts
|
install_elasticsearch_test_scripts
|
||||||
|
ESPLUGIN_COMMAND_USER=root install_and_check_plugin lang groovy
|
||||||
start_elasticsearch_service
|
start_elasticsearch_service
|
||||||
run_elasticsearch_tests
|
run_elasticsearch_tests
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
# Load test utilities
|
# Load test utilities
|
||||||
load packaging_test_utils
|
load packaging_test_utils
|
||||||
load os_package
|
load os_package
|
||||||
|
load plugins
|
||||||
|
|
||||||
# Cleans everything for the 1st execution
|
# Cleans everything for the 1st execution
|
||||||
setup() {
|
setup() {
|
||||||
|
@ -67,6 +68,7 @@ setup() {
|
||||||
# starting Elasticsearch so we don't have to wait for elasticsearch to scan for
|
# starting Elasticsearch so we don't have to wait for elasticsearch to scan for
|
||||||
# them.
|
# them.
|
||||||
install_elasticsearch_test_scripts
|
install_elasticsearch_test_scripts
|
||||||
|
ESPLUGIN_COMMAND_USER=root install_and_check_plugin lang groovy
|
||||||
systemctl start elasticsearch.service
|
systemctl start elasticsearch.service
|
||||||
wait_for_elasticsearch_status
|
wait_for_elasticsearch_status
|
||||||
assert_file_exist "/var/run/elasticsearch/elasticsearch.pid"
|
assert_file_exist "/var/run/elasticsearch/elasticsearch.pid"
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
# Load test utilities
|
# Load test utilities
|
||||||
load packaging_test_utils
|
load packaging_test_utils
|
||||||
load os_package
|
load os_package
|
||||||
|
load plugins
|
||||||
|
|
||||||
# Cleans everything for the 1st execution
|
# Cleans everything for the 1st execution
|
||||||
setup() {
|
setup() {
|
||||||
|
@ -69,6 +70,7 @@ setup() {
|
||||||
# Install scripts used to test script filters and search templates before
|
# 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
|
# starting Elasticsearch so we don't have to wait for elasticsearch to scan for
|
||||||
# them.
|
# them.
|
||||||
|
ESPLUGIN_COMMAND_USER=root install_and_check_plugin lang groovy
|
||||||
install_elasticsearch_test_scripts
|
install_elasticsearch_test_scripts
|
||||||
service elasticsearch start
|
service elasticsearch start
|
||||||
wait_for_elasticsearch_status
|
wait_for_elasticsearch_status
|
||||||
|
|
Loading…
Reference in New Issue