[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [sbws/master] chg: tests: Remove test that fails sometimes in Travis



commit 24d61b651073991fecf196d06d511f5e6572ac66
Author: juga0 <juga@xxxxxxxxxx>
Date:   Mon Mar 11 16:34:28 2019 +0000

    chg: tests: Remove test that fails sometimes in Travis
    
    because the http server is not concurrent/asynchronous and there
    are as many processes as tox environments querying the http server.
---
 tests/integration/util/test_requests.py | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/tests/integration/util/test_requests.py b/tests/integration/util/test_requests.py
index ecb22ad..9c55640 100644
--- a/tests/integration/util/test_requests.py
+++ b/tests/integration/util/test_requests.py
@@ -21,9 +21,3 @@ def test_make_session(conf, persistent_launch_tor, dests):
     except requests.exceptions.ConnectTimeout:
         pass
     assert response is None
-
-    # Disable socks proxies to test a session request not over Tor
-    # without timeout.
-    session.proxies = {}
-    response = session.get(dests.next().url, verify=False)
-    print(response.request.__dict__)



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits