diff options
Diffstat (limited to 'csit/resources/scripts/wait_for_rest.sh')
-rwxr-xr-x | csit/resources/scripts/wait_for_rest.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/csit/resources/scripts/wait_for_rest.sh b/csit/resources/scripts/wait_for_rest.sh index 9732bc54..b51a7fe0 100755 --- a/csit/resources/scripts/wait_for_rest.sh +++ b/csit/resources/scripts/wait_for_rest.sh @@ -1,6 +1,6 @@ #!/bin/sh # ============LICENSE_START==================================================== -# Copyright (C) 2023-2024 Nordix Foundation. +# Copyright (C) 2023-2025 Nordix Foundation. # ============================================================================= # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -49,7 +49,7 @@ do export port="$2" shift shift - echo "Waiting for REST to come up on $host port $port..." + echo "Checking if REST port $port is open on $host ..." while [ "$tmout" -gt 0 ] do if command -v docker > /dev/null 2>&1 @@ -67,7 +67,7 @@ do fi done if [ $rc -ne 0 ]; then - echo "$host port $port REST cannot be detected" + echo "REST port $port cannot be detected on host $host" exit $rc fi done |