tests: FST-MANAGER SESSION_ADD OOM
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
f067a05589
commit
feb64551d9
1 changed files with 4 additions and 0 deletions
|
@ -2010,6 +2010,10 @@ def test_fst_session_oom(dev, apdev, test_params):
|
|||
resp_newif = sta2.ifname()
|
||||
peeraddr = None
|
||||
initiator.add_peer(responder, peeraddr, new_peer_addr)
|
||||
with alloc_fail(hapd, 1, "fst_session_create"):
|
||||
sid = initiator.grequest("FST-MANAGER SESSION_ADD " + initiator.fst_group)
|
||||
if not sid.startswith("FAIL"):
|
||||
raise Exception("Unexpected SESSION_ADD success")
|
||||
sid = initiator.add_session()
|
||||
initiator.configure_session(sid, new_iface)
|
||||
with alloc_fail(sta, 1, "fst_session_create"):
|
||||
|
|
Loading…
Reference in a new issue