tests: Update authsrv_oom to match implementation changes
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
9ce3bfaf47
commit
0b39274ca3
1 changed files with 0 additions and 5 deletions
|
@ -145,11 +145,6 @@ def test_authsrv_oom(dev, apdev):
|
||||||
with alloc_fail(authsrv, 2, "radius_server_init;hostapd_setup_radius_srv"):
|
with alloc_fail(authsrv, 2, "radius_server_init;hostapd_setup_radius_srv"):
|
||||||
if "FAIL" not in authsrv.request("ENABLE"):
|
if "FAIL" not in authsrv.request("ENABLE"):
|
||||||
raise Exception("ENABLE succeeded during OOM")
|
raise Exception("ENABLE succeeded during OOM")
|
||||||
with alloc_fail(authsrv, 3, "radius_server_init;hostapd_setup_radius_srv"):
|
|
||||||
authsrv.request("ENABLE")
|
|
||||||
# This is actually allowed to continue even though memory allocation
|
|
||||||
# fails.
|
|
||||||
authsrv.disable()
|
|
||||||
|
|
||||||
for count in range(1, 4):
|
for count in range(1, 4):
|
||||||
with alloc_fail(authsrv, count,
|
with alloc_fail(authsrv, count,
|
||||||
|
|
Loading…
Reference in a new issue