tests: Increase wait in dpp_qr_code_config_event_initiator_no_response

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>
This commit is contained in:
Jouni Malinen 2022-02-03 11:35:35 +02:00 committed by Jouni Malinen
parent da65e71360
commit 8121cd3934

View 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: