diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index 143372e12..89bdfa276 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -131,4 +131,4 @@ jobs: - name: Run ${{ inputs.context }} Tests run: | - docker-compose exec testing ./tests.sh ./tests/${{ inputs.context }} + docker-compose exec --no-TTY testing ./tests.sh ./tests/${{ inputs.context }} diff --git a/components/testing/tests/public_gateway/outbound_test.sh b/components/testing/tests/public_gateway/outbound_test.sh index 732e43d58..32b8927f5 100755 --- a/components/testing/tests/public_gateway/outbound_test.sh +++ b/components/testing/tests/public_gateway/outbound_test.sh @@ -7,7 +7,10 @@ source $current_dir/support/test_helpers.sh source $current_dir/../support/test_helpers.sh log_file=$(find . -type f -iname "uas_*_messages.log") -cat /dev/null > $log_file + +if [ -f "$log_file" ]; then + cat /dev/null > $log_file +fi uas="$(dig +short testing)" media_server="$(dig +short freeswitch)"