Skip to content

Commit

Permalink
Removing redundant DB_HOST setting
Browse files Browse the repository at this point in the history
DB_HOST is hardcoded in the compose file that runs this script anyway.
  • Loading branch information
nataliejschultz authored May 23, 2024
1 parent 38209ef commit da485c2
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions emission/integrationTests/start_integration_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,7 @@
# Using an automated install
cd /src/e-mission-server

#set database URL using environment variable
echo ${DB_HOST}
if [ -z ${DB_HOST} ] ; then
local_host=`hostname -i`
export DB_HOST=$local_host
echo "Setting db host environment variable to localhost"
fi
cat conf/storage/db.conf

echo "Setting up conda..."
Expand All @@ -24,4 +18,4 @@ echo "Adding permissions for the runIntegrationTests.sh script"
chmod +x runIntegrationTests.sh
echo "Permissions added for the runIntegrationTests.sh script"

./runIntegrationTests.sh
./runIntegrationTests.sh

0 comments on commit da485c2

Please sign in to comment.