From 03d9019811f8880e984e8df9855e8e0b93c78853 Mon Sep 17 00:00:00 2001 From: Peter Oh Date: Mon, 27 Aug 2018 14:28:36 -0700 Subject: [PATCH] tests: Update mesh_oom to match implementation change 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 --- tests/hwsim/test_wpas_mesh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/hwsim/test_wpas_mesh.py b/tests/hwsim/test_wpas_mesh.py index e774ce0ef..91198af8c 100644 --- a/tests/hwsim/test_wpas_mesh.py +++ b/tests/hwsim/test_wpas_mesh.py @@ -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"])