diff options
author | ecaiyanlinux <martin.c.yan@est.tech> | 2019-09-06 09:31:51 +0000 |
---|---|---|
committer | Daniel Rose <dr695h@att.com> | 2019-09-09 15:54:24 +0000 |
commit | 7991fb82f45766c3488e66286989ad9a9ac39748 (patch) | |
tree | 3e5eb69550d511da991d18255ac8b115dd9c8627 /test | |
parent | 69311bf8082471be45574c9a99b23e31e606669c (diff) |
Fix a bug in DFC CSIT
when mounting a shared volume, the uid:gid is changed automaticlly
which could cause potential unstable.
Change-Id: If6279489ba0ba3d24fdd6893e02d9babf29d7925
Issue-ID: DCAEGEN2-1702
Signed-off-by: ecaiyanlinux <martin.c.yan@est.tech>
Diffstat (limited to 'test')
-rwxr-xr-x | test/mocks/datafilecollector-testharness/simulator-group/simulators-start.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/mocks/datafilecollector-testharness/simulator-group/simulators-start.sh b/test/mocks/datafilecollector-testharness/simulator-group/simulators-start.sh index 5463da8bd..5c7c32f41 100755 --- a/test/mocks/datafilecollector-testharness/simulator-group/simulators-start.sh +++ b/test/mocks/datafilecollector-testharness/simulator-group/simulators-start.sh @@ -1,5 +1,5 @@ #!/bin/bash -set -x +set -x server_check() { for i in {1..10}; do res=$(curl -s -o /dev/null -w "%{http_code}" localhost:$2$3) @@ -59,6 +59,9 @@ docker-compose -f docker-compose-template.yml config > docker-compose.yml docker-compose up -d +sudo chown $(id -u):$(id -g) consul +sudo chown $(id -u):$(id -g) consul/consul/ + declare -a SFTP_SIM declare -a FTPS_SIM |