mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 08:48:31 -05:00
tests: Increase HTTPConnection timeout in ap_wps_upnp_http_proto
It looks like the previous timeout of 0.1 seconds could be hit under parallel VM load, so double this to 0.2 second to avoid hitting unnecessary test failures. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
001c4bf5b3
commit
81f8e7e9fb
@ -2240,7 +2240,7 @@ def test_ap_wps_upnp_http_proto(dev, apdev):
|
||||
location = ssdp_get_location(ap_uuid)
|
||||
|
||||
url = urlparse.urlparse(location)
|
||||
conn = httplib.HTTPConnection(url.netloc, timeout=0.1)
|
||||
conn = httplib.HTTPConnection(url.netloc, timeout=0.2)
|
||||
#conn.set_debuglevel(1)
|
||||
|
||||
conn.request("HEAD", "hello")
|
||||
|
Loading…
Reference in New Issue
Block a user