From 42440c00412013218d3fcfb64b3fea10d346db69 Mon Sep 17 00:00:00 2001 From: Fabrice Lecomte Date: Fri, 15 Jan 2021 02:46:10 +0100 Subject: [PATCH] Fix sql-test launcher --- src/test/sql/test.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/sql/test.sh b/src/test/sql/test.sh index 385a299..65a0dbe 100644 --- a/src/test/sql/test.sh +++ b/src/test/sql/test.sh @@ -17,7 +17,7 @@ case $opt in awk 'FNR==1{print "--------------------"}1' \ ../../main/resources/sql/migrations/*.down.sql \ ../../main/resources/sql/migrations/*.up.sql > ./allSQL.sql - docker exec -i postgresql_dc-project psql test test -q -b -v "ON_ERROR_STOP=1" < ./allSQL.sql + docker exec -i dc-project_postgresql psql test test -q -b -v "ON_ERROR_STOP=1" < ./allSQL.sql rm ./allSQL.sql ;; "All") @@ -26,7 +26,7 @@ case $opt in ../../main/resources/sql/functions/*/*.sql \ ./fixtures/*.sql \ ./*.sql > ./allSQL.sql - docker exec -i postgresql_dc-project psql test test -q -b -v "ON_ERROR_STOP=1" < ./allSQL.sql + docker exec -i dc-project_postgresql psql test test -q -b -v "ON_ERROR_STOP=1" < ./allSQL.sql rm ./allSQL.sql ;; "Quit") @@ -37,7 +37,7 @@ case $opt in ../../main/resources/sql/functions/*/*.sql \ ./fixtures/*.sql \ ./"$opt".sql > ./allSQL.sql - docker exec -i postgresql_dc-project psql test test -q -b -v "ON_ERROR_STOP=1" < ./allSQL.sql + docker exec -i dc-project_postgresql psql test test -q -b -v "ON_ERROR_STOP=1" < ./allSQL.sql rm ./allSQL.sql ;; esac \ No newline at end of file