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.
This commit is contained in:
mprahl
2019-08-23 12:01:47 -04:00
parent 14a9ef9974
commit cf334b3261

View File

@@ -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"