aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtest/mocks/datafilecollector-testharness/simulator-group/simulators-start.sh5
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