From 8121cd39345e7347bef9daaadde06bf465ecedf4 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Thu, 3 Feb 2022 11:35:35 +0200 Subject: [PATCH] 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 --- tests/hwsim/test_dpp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/hwsim/test_dpp.py b/tests/hwsim/test_dpp.py index 9242ce1f7..3a3d438ac 100644 --- a/tests/hwsim/test_dpp.py +++ b/tests/hwsim/test_dpp.py @@ -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: -- 2.47.3