]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Increase wait in dpp_qr_code_config_event_initiator_no_response
authorJouni Malinen <quic_jouni@quicinc.com>
Thu, 3 Feb 2022 09:35:35 +0000 (11:35 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 3 Feb 2022 22:23:19 +0000 (00:23 +0200)
The DPP Enrollee might wait for up to 60 seconds for the configuration,
so use a longer timeout value to be able to cover this negative test
case where the Configurator never sends the response.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
tests/hwsim/test_dpp.py

index 9242ce1f793522b2ef50d3675b38e87c1457f1ab..3a3d438ac0a2ac62173e733aa315148af892f7f7 100644 (file)
@@ -7106,7 +7106,7 @@ def run_dpp_qr_code_config_event_initiator(dev, apdev, set_comeback=False,
         if "OK" not in dev[1].request(("DPP_CONF_SET peer=%d " % id1) + conf):
             raise Exception("DPP_CONF_SET failed")
 
-    ev = dev[0].wait_event(["DPP-CONF-RECEIVED", "DPP-CONF-FAILED"], timeout=15)
+    ev = dev[0].wait_event(["DPP-CONF-RECEIVED", "DPP-CONF-FAILED"], timeout=65)
     if ev is None:
         raise Exception("DPP configuration not completed (Enrollee)")
     if failure and "DPP-CONF-FAILED" not in ev: