m,ore debug

This commit is contained in:
dgtlmoon
2025-10-28 18:47:11 +01:00
parent 0f53233272
commit 096bd21663
2 changed files with 5 additions and 4 deletions

View File

@@ -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:

View File

@@ -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