From 7991fb82f45766c3488e66286989ad9a9ac39748 Mon Sep 17 00:00:00 2001 From: ecaiyanlinux Date: Fri, 6 Sep 2019 09:31:51 +0000 Subject: 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 --- .../simulator-group/simulators-start.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test') 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 -- cgit 1.2.3-korg