@@ -4,10 +4,6 @@ set -e
SCRIPT_PATH="$(dirname "${BASH_SOURCE[0]}")"
cd $SCRIPT_PATH
-set -a
-. ../../.env
-set +a
-
# Clean start
docker-compose -f ../../docker-compose.yml down -v
@@ -29,13 +29,6 @@ fi
# Execute tests
-# We can load env config used to start docker services and pass them on to the
-# tests. This could be useful to capture keys used or URLs.
-# We just have to watchout for clashing env var names.
if [ "${NO_STORAGE}" != true ]
then
./start-storage.sh
@@ -1,11 +1,6 @@
TMP=$0
THIS_DIR=`dirname $TMP`
-# make sure env variables are loaded before calling this script
-#set -a
-#. ../../.env
-#set +a
HOST_IP=`$THIS_DIR/get-host-ip.sh`
export COLOSSUS_1_URL="http://${HOST_IP}:3333"
export DISTRIBUTOR_1_URL="http://${HOST_IP}:3334"