diff options
author | 2021-02-17 12:51:58 +0100 | |
---|---|---|
committer | 2021-02-17 14:09:42 +0000 | |
commit | becc0f905edd450e7cba082240f2c2f3c3d19b87 (patch) | |
tree | 63d7d18ea01322ad1e63cf7ba46d531b280639fc /test/mocks/datafilecollector-testharness/simulator-group/simulators-start.sh | |
parent | 4006186227086db24bacc9ca546bc14ebff698a6 (diff) |
Add HTTPS to DFC tests
- CSIT tests are reported to be unstable.
This fix prevents some 'permission denied' errors and
sftp health checks errors which may occur during non https tests
Issue-ID: DCAEGEN2-2528
Signed-off-by: Krzysztof Gajewski <krzysztof.gajewski@nokia.com>
Change-Id: Ib5d4042ab8207ced3746c390e63c88fc6b49b851
Diffstat (limited to 'test/mocks/datafilecollector-testharness/simulator-group/simulators-start.sh')
-rwxr-xr-x | test/mocks/datafilecollector-testharness/simulator-group/simulators-start.sh | 2 |
1 files changed, 1 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 f39f052a0..69d47354e 100755 --- a/test/mocks/datafilecollector-testharness/simulator-group/simulators-start.sh +++ b/test/mocks/datafilecollector-testharness/simulator-group/simulators-start.sh @@ -71,7 +71,7 @@ ftpes_server_check() { sftp_server_check() { for i in {1..10}; do - res=$(curl --silent --max-time 3 sftp://localhost:$2 -v -k 2>&1 | grep Connected) + res=$(curl --silent --max-time 3 localhost:$2 2>&1 | grep OpenSSH) if ! [ -z "$res" ]; then echo "Simulator " $1 " on localhost:"$2" responded ok" return |