diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2015-06-04 19:55:01 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2015-06-04 19:55:01 +1200 |
commit | fb1b9113a101e2b5bf174140f95f06131f23e91f (patch) | |
tree | b63c52a7088fcd55415a98f0ff2e3282bd815a9f /test/test_pathoc.py | |
parent | 80d191ff7c69c5512a58e16092bbc0a442764144 (diff) | |
download | mitmproxy-fb1b9113a101e2b5bf174140f95f06131f23e91f.tar.gz mitmproxy-fb1b9113a101e2b5bf174140f95f06131f23e91f.tar.bz2 mitmproxy-fb1b9113a101e2b5bf174140f95f06131f23e91f.zip |
Try to fix test suite race like a savage.
Diffstat (limited to 'test/test_pathoc.py')
-rw-r--r-- | test/test_pathoc.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/test_pathoc.py b/test/test_pathoc.py index 05519e4d..994975fc 100644 --- a/test/test_pathoc.py +++ b/test/test_pathoc.py @@ -147,14 +147,16 @@ class TestDaemon(_TestDaemon): def test_timeout(self): assert "Timeout" in self.tval(["get:'/p/200:p0,10'"], timeout=0.01) assert "HTTP" in self.tval( - ["get:'/p/200:p5,10'"], + ["get:'/p/200:p5,100'"], showresp=True, - timeout=0.01) + timeout=0.01 + ) assert not "HTTP" in self.tval( ["get:'/p/200:p3,10'"], showresp=True, timeout=0.01, - ignoretimeout=True) + ignoretimeout=True + ) def test_showresp(self): reqs = ["get:/api/info:p0,0", "get:/api/info:p0,0"] |