From 81f8e7e9fbdca3a81cfbf84614c0c43aa0b72517 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Fri, 19 Jun 2015 13:45:16 +0300 Subject: [PATCH] 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 --- tests/hwsim/test_ap_wps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/hwsim/test_ap_wps.py b/tests/hwsim/test_ap_wps.py index e64da5aa5..90c1d7902 100644 --- a/tests/hwsim/test_ap_wps.py +++ b/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")