Skip to content

Commit

Permalink
Update path in test script
Browse files Browse the repository at this point in the history
  • Loading branch information
mrodm committed Feb 14, 2024
1 parent 90b8e79 commit bd8acba
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions scripts/test-system-test-flags.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ temporal_files_exist() {
return 1
fi

if [ ! -f "${FOLDER_PATH}/service-setup.json" ]; then
echo "Missing setup-service.json in ${FOLDER_NAME} folder"
if [ ! -f "${FOLDER_PATH}/service.json" ]; then
echo "Missing service.json in folder ${FOLDER_PATH}"
return 1
fi

Expand Down Expand Up @@ -121,7 +121,7 @@ run_tests_for_package() {
--tear-down

if service_setup_folder_exists; then
echo "Folder ${FOLDER_NAME} has not been deleted in --tear-down"
echo "State folder has not been deleted in --tear-down: ${FOLDER_PATH}"
exit 1
fi

Expand All @@ -145,8 +145,7 @@ export ELASTIC_PACKAGE_LINKS_FILE_PATH
echo "--- Start Elastic stack"
elastic-package stack up -v -d

FOLDER_NAME="service_setup"
FOLDER_PATH="${HOME}/.elastic-package/stack/${FOLDER_NAME}"
FOLDER_PATH="${HOME}/.elastic-package/profiles/default/stack/state"

run_tests_for_package \
"nginx" \
Expand Down

0 comments on commit bd8acba

Please sign in to comment.