tests: Make sae_anti_clogging_during_attack more robust
Accept a smaller number of token responses in second round to avoid failing this test case as frequently. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
53b4f0fe6a
commit
a1983aa72c
1 changed files with 1 additions and 1 deletions
|
@ -1505,7 +1505,7 @@ def run_sae_anti_clogging_during_attack(dev, apdev):
|
||||||
count += 1
|
count += 1
|
||||||
if count == 10:
|
if count == 10:
|
||||||
break
|
break
|
||||||
if count < 10:
|
if count < 5:
|
||||||
raise Exception("Too few token responses in second round: %d" % count)
|
raise Exception("Too few token responses in second round: %d" % count)
|
||||||
|
|
||||||
dev[0].connect("test-sae", psk="12345678", key_mgmt="SAE",
|
dev[0].connect("test-sae", psk="12345678", key_mgmt="SAE",
|
||||||
|
|
Loading…
Reference in a new issue