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
1 changed files with 1 additions and 1 deletions
|
@ -2240,7 +2240,7 @@ def test_ap_wps_upnp_http_proto(dev, apdev):
|
||||||
location = ssdp_get_location(ap_uuid)
|
location = ssdp_get_location(ap_uuid)
|
||||||
|
|
||||||
url = urlparse.urlparse(location)
|
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.set_debuglevel(1)
|
||||||
|
|
||||||
conn.request("HEAD", "hello")
|
conn.request("HEAD", "hello")
|
||||||
|
|
Loading…
Reference in a new issue