diff --git a/.github/workflows/test-stack-reusable-workflow.yml b/.github/workflows/test-stack-reusable-workflow.yml index 076f1aaa..a757bb0d 100644 --- a/.github/workflows/test-stack-reusable-workflow.yml +++ b/.github/workflows/test-stack-reusable-workflow.yml @@ -302,11 +302,13 @@ jobs: run: | cd changedetectionio ./run_proxy_tests.sh + cd .. - name: Test proxy SOCKS5 style interaction run: | cd changedetectionio ./run_socks_proxy_tests.sh + cd .. # Custom browser URL tests custom-browser-tests: diff --git a/changedetectionio/run_proxy_tests.sh b/changedetectionio/run_proxy_tests.sh index fd831728..b3f20371 100755 --- a/changedetectionio/run_proxy_tests.sh +++ b/changedetectionio/run_proxy_tests.sh @@ -25,15 +25,14 @@ sleep 5 docker run --network changedet-network \ -v `pwd`/tests/proxy_list/proxies.json-example:/app/changedetectionio/test-datastore/proxies.json \ test-changedetectionio \ - bash -c 'echo here is the proxy list; cat /app/changedetectionio/test-datastore/proxies.json; cd changedetectionio && pytest tests/proxy_list/test_multiple_proxy.py' + bash -c 'echo here is the proxy list; cat /app/changedetectionio/test-datastore/proxies.json; cd changedetectionio && pytest -s tests/proxy_list/test_multiple_proxy.py' echo "----------------- SQUID PROXY ONE LOGS -------------" docker logs squid-one echo "----------------- SQUID PROXY TWO LOGS -------------" docker logs squid-two -echo "----- squid-two cat /var/log/squid/access.log --------" -docker exec squid-two cat /var/log/squid/access.log -docker exec squid-two ls -al /var/log/squid +echo "----- DNS debug output --------" +docker run --network changedet-network test-changedetectionio getent hosts squid-one squid-two echo "------------------------------------------------------" set +e