]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Update mesh_oom to match implementation change
authorPeter Oh <peter.oh@bowerswilkins.com>
Mon, 27 Aug 2018 21:28:36 +0000 (14:28 -0700)
committerJouni Malinen <j@w1.fi>
Thu, 3 Jan 2019 10:07:17 +0000 (12:07 +0200)
The number of direct allocation within wpa_supplicant_mesh_init()
has been reduced due to RSN init function is factored out.

Signed-off-by: Peter Oh <peter.oh@bowerswilkins.com>
tests/hwsim/test_wpas_mesh.py

index e774ce0ef68dd48125bca219a2c8f9d47e3952eb..91198af8c6fa9e9c5dc6b9133de9ed064c3229b3 100644 (file)
@@ -1827,7 +1827,7 @@ def test_mesh_oom(dev, apdev):
                 raise
             logger.info("Ignore no-oom for i=%d" % i)
 
-    with alloc_fail(dev[0], 3, "=wpa_supplicant_mesh_init"):
+    with alloc_fail(dev[0], 2, "=wpa_supplicant_mesh_init"):
         id = add_mesh_secure_net(dev[0])
         dev[0].mesh_group_add(id)
         ev = dev[0].wait_event(["Failed to init mesh"])