Skip to content

Commit 041b10a

Browse files
Fix issue running tests locally
It could not resolve the var TEST_CONFIG_PATH
1 parent 64bfae4 commit 041b10a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

selenium/bin/gen-env-file

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ generate_env_file() {
1717
echo "#!/usr/bin/env bash" > $ENV_FILE
1818
echo "set -u" >> $ENV_FILE
1919
echo "export SELENIUM=${SCRIPT}/.." >> $ENV_FILE
20-
echo "export TEST_CONFIG_PATH=${TEST_CONFIG_PATH}" >> $ENV_FILE
20+
echo "export TEST_CONFIG_PATH=${FIND_PATH}" >> $ENV_FILE
2121

2222
declare -a FILE_ARRAY
2323
for f in $($SCRIPT/find-template-files $FIND_PATH "env")

selenium/test/env.local

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export RABBITMQ_SCHEME=http
22
export RABBITMQ_HOSTNAME=localhost
33
export RABBITMQ_HOST=localhost:15672
4-
export RABBITMQ_CERTS=selenium/test/${TEST_CONFIG_PATH}/certs
5-
export IMPORT_DIR=selenium/test/${TEST_CONFIG_PATH}/imports
4+
export RABBITMQ_CERTS=${TEST_CONFIG_PATH}/certs
5+
export IMPORT_DIR=${TEST_CONFIG_PATH}/imports

0 commit comments

Comments
 (0)