Skip to content

Commit 62a0e88

Browse files
committed
each container in run_change_password_test mounts its own volume
selinux does not allow two containers accesing one mounting directory if mounted with Z option
1 parent 2882158 commit 62a0e88

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/run_test

+5
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,11 @@ $volume_options
634634

635635
echo " Changing passwords"
636636

637+
# create separate mounting directory for second container, as selinux does
638+
# not allow two containers accesing one mounting directory if mounted with
639+
# Z option
640+
create_volume_dir || ret=1
641+
637642
DOCKER_ARGS="
638643
-e POSTGRESQL_DATABASE=${database}
639644
-e POSTGRESQL_USER=${user}

0 commit comments

Comments
 (0)