From da485c257cdf955f9e44b325ebd967a71c42633b Mon Sep 17 00:00:00 2001 From: Natalie Schultz <90212258+nataliejschultz@users.noreply.github.com> Date: Thu, 23 May 2024 16:57:35 -0600 Subject: [PATCH] Removing redundant DB_HOST setting DB_HOST is hardcoded in the compose file that runs this script anyway. --- emission/integrationTests/start_integration_tests.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/emission/integrationTests/start_integration_tests.sh b/emission/integrationTests/start_integration_tests.sh index 7096f9833..7b01b5911 100644 --- a/emission/integrationTests/start_integration_tests.sh +++ b/emission/integrationTests/start_integration_tests.sh @@ -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..." @@ -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 \ No newline at end of file +./runIntegrationTests.sh