From cf334b3261d9881b86e6db2082b946deacb54673 Mon Sep 17 00:00:00 2001 From: mprahl Date: Fri, 23 Aug 2019 12:01:47 -0400 Subject: [PATCH] Use a different container name when running the unit tests with Postgres This will allow the parallel execution of tests that use SQLite and Postgres. --- contrib/run-unittests.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contrib/run-unittests.sh b/contrib/run-unittests.sh index dbba3a9e..2bddae1c 100755 --- a/contrib/run-unittests.sh +++ b/contrib/run-unittests.sh @@ -48,6 +48,10 @@ else test_image="${image_ns}/mbs-test-centos" fi +if [ -n "$with_pgsql" ]; then + test_container_name="${test_container_name}-pgsql" +fi + now=$(date +"%H%M%S") db_container_name="${db_container_name}-$now" test_container_name="${test_container_name}-$now"