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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue