mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-21 11:33:04 -05:00
tests: Fix sae_anti_clogging_during_attack with UML time-travel=inf-cpu
Need to add short break to allow time-travel=inf-cpu case to allow the connection events to be processed. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
298eb0792e
commit
1df79115aa
@ -1638,6 +1638,7 @@ def run_sae_anti_clogging_during_attack(dev, apdev):
|
|||||||
connected1 = True
|
connected1 = True
|
||||||
if connected0 and connected1:
|
if connected0 and connected1:
|
||||||
break
|
break
|
||||||
|
time.sleep(0.00000001)
|
||||||
if not connected0:
|
if not connected0:
|
||||||
raise Exception("Real station(0) did not get connected")
|
raise Exception("Real station(0) did not get connected")
|
||||||
if not connected1:
|
if not connected1:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user