From 6333cb812bfceb7ef9a518637c099fa86a0b82b8 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Wed, 10 Jan 2018 22:13:48 +0200 Subject: [PATCH] tests: Use longer timeout in sigma_dut_dpp_proto_initiator This is needed to be ready for a sigma_dut change to wait for an extra frame RX event. Signed-off-by: Jouni Malinen --- tests/hwsim/test_sigma_dut.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/hwsim/test_sigma_dut.py b/tests/hwsim/test_sigma_dut.py index 37305d028..9ef949f18 100644 --- a/tests/hwsim/test_sigma_dut.py +++ b/tests/hwsim/test_sigma_dut.py @@ -1607,7 +1607,8 @@ def run_sigma_dut_dpp_proto_initiator(dev, step, frame, attr, result, fail): if "status,COMPLETE" not in res: raise Exception("dev_exec_action did not succeed: " + res) - res = sigma_dut_cmd("dev_exec_action,program,DPP,DPPActionType,AutomaticDPP,DPPAuthRole,Initiator,DPPAuthDirection,Single,DPPProvisioningRole,Configurator,DPPConfIndex,1,DPPSigningKeyECC,P-256,DPPConfEnrolleeRole,STA,DPPBS,QR,DPPTimeout,6,DPPStep,%s,DPPFrameType,%s,DPPIEAttribute,%s" % (step, frame, attr)) + res = sigma_dut_cmd("dev_exec_action,program,DPP,DPPActionType,AutomaticDPP,DPPAuthRole,Initiator,DPPAuthDirection,Single,DPPProvisioningRole,Configurator,DPPConfIndex,1,DPPSigningKeyECC,P-256,DPPConfEnrolleeRole,STA,DPPBS,QR,DPPTimeout,6,DPPStep,%s,DPPFrameType,%s,DPPIEAttribute,%s" % (step, frame, attr), + timeout=10) if result not in res: raise Exception("Unexpected result: " + res) if fail: