| |
@@ -34,7 +34,7 @@
|
| |
test_container_name="mbs-test"
|
| |
db_container_name="mbs-test-db"
|
| |
source_dir="$(realpath "$(dirname "$0")/..")"
|
| |
- volume_mount="${source_dir}:/src:Z"
|
| |
+ volume_mount="${source_dir}:/src:z"
|
| |
db_name=mbstest
|
| |
db_password=mbstest
|
| |
pgdb_uri="postgresql+psycopg2://postgres:${db_password}@db/${db_name}"
|
| |
@@ -48,6 +48,10 @@
|
| |
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"
|
| |
This allows parallel execution of the unit tests.