From: ecaiyanlinux Date: Fri, 6 Sep 2019 09:31:51 +0000 (+0000) Subject: Fix a bug in DFC CSIT X-Git-Tag: 6.0.0-ONAP~379 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=7991fb82f45766c3488e66286989ad9a9ac39748;p=integration.git 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 --- 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