tests: Make ap_hs20_session_info more robust

It looks like mac80211 scan-while-associated can now take over 10
seconds with the current wireless-regdb rules for world roaming due to
number of additional DFS channel having been enabled for passive
scanning. This resulted in ap_hs20_session_info failing due to the wait
for the scan result event timing out. That is not really a real failure,
so increase the timeout to avoid reporting this incorrectly.

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2014-10-10 00:29:46 +03:00
parent 51465a0b5c
commit 64502039c0

View file

@ -1682,7 +1682,7 @@ def test_ap_hs20_session_info(dev, apdev):
ev = dev[0].wait_event(["CTRL-EVENT-SCAN-STARTED"]) ev = dev[0].wait_event(["CTRL-EVENT-SCAN-STARTED"])
if ev is None: if ev is None:
raise Exception("Scan not started") raise Exception("Scan not started")
ev = dev[0].wait_event(["CTRL-EVENT-SCAN-RESULTS"]) ev = dev[0].wait_event(["CTRL-EVENT-SCAN-RESULTS"], timeout=30)
if ev is None: if ev is None:
raise Exception("Scan not completed") raise Exception("Scan not completed")