mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-11-03 22:05:11 +08:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user