Browse Source

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>
Jouni Malinen 9 years ago
parent
commit
81f8e7e9fb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/hwsim/test_ap_wps.py

+ 1 - 1
tests/hwsim/test_ap_wps.py

@@ -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")