tests: Make grpform_no_wsc_done more robust
It was possible for this test case to start a new group formation on dev[1] while the first round was still going through the process of processing group termination indication. That could result in the second round failing unexpectedly. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
c3dabf5a00
commit
dcd378ed2e
1 changed files with 1 additions and 0 deletions
|
@ -856,6 +856,7 @@ def test_grpform_no_wsc_done(dev):
|
||||||
if ev is None:
|
if ev is None:
|
||||||
raise Exception("Group formation timed out on P2P Client")
|
raise Exception("Group formation timed out on P2P Client")
|
||||||
dev[0].remove_group()
|
dev[0].remove_group()
|
||||||
|
dev[1].wait_go_ending_session()
|
||||||
|
|
||||||
if mode != "P2P GO - group formation":
|
if mode != "P2P GO - group formation":
|
||||||
raise Exception("Unexpected mode on GO during group formation: " + mode)
|
raise Exception("Unexpected mode on GO during group formation: " + mode)
|
||||||
|
|
Loading…
Reference in a new issue