From fcbda7829a8291907f0d6d76397ed36b574417c1 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Sun, 25 Dec 2022 23:03:14 +0100 Subject: [PATCH] hmm fixes the error on github? --- changedetectionio/run_proxy_tests.sh | 2 ++ changedetectionio/tests/proxy_list/test_select_custom_proxy.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/changedetectionio/run_proxy_tests.sh b/changedetectionio/run_proxy_tests.sh index a7ac8805..21dc7a61 100755 --- a/changedetectionio/run_proxy_tests.sh +++ b/changedetectionio/run_proxy_tests.sh @@ -57,3 +57,5 @@ then echo "Did not see a valid request to changedetection.io in the squid logs (while checking preferred proxy - squid two)" exit 1 fi + +docker kill squid-one squid-two squid-custom diff --git a/changedetectionio/tests/proxy_list/test_select_custom_proxy.py b/changedetectionio/tests/proxy_list/test_select_custom_proxy.py index 2f803f54..c889e51c 100644 --- a/changedetectionio/tests/proxy_list/test_select_custom_proxy.py +++ b/changedetectionio/tests/proxy_list/test_select_custom_proxy.py @@ -33,7 +33,7 @@ def test_select_custom(client, live_server): ) assert b"1 Imported" in res.data - wait_for_all_checks(client) + time.sleep(3) res = client.get(url_for("index")) assert b'Proxy Authentication Required' not in res.data