From cf334b3261d9881b86e6db2082b946deacb54673 Mon Sep 17 00:00:00 2001 From: mprahl Date: Aug 23 2019 16:06:48 +0000 Subject: 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. --- diff --git a/contrib/run-unittests.sh b/contrib/run-unittests.sh index dbba3a9..2bddae1 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"