From 7a11d807058cfdc684064ad064d9ea904e4b43de Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Fri, 7 Jun 2019 19:21:18 +0200 Subject: tests/json_echo: Drop needless workaround With cache issues now resolved, there is no need for the multi add test workaround anymore. Signed-off-by: Phil Sutter Signed-off-by: Pablo Neira Ayuso --- tests/json_echo/run-test.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'tests/json_echo/run-test.py') diff --git a/tests/json_echo/run-test.py b/tests/json_echo/run-test.py index dd7797fb..a636d5f2 100755 --- a/tests/json_echo/run-test.py +++ b/tests/json_echo/run-test.py @@ -271,12 +271,10 @@ add_quota["add"]["quota"]["name"] = "q" do_flush() print("doing multi add") -# XXX: Add table separately, otherwise this triggers cache bug -out = do_command(add_table) -thandle = get_handle(out, add_table["add"]) -add_multi = [ add_chain, add_set, add_rule ] +add_multi = [ add_table, add_chain, add_set, add_rule ] out = do_command(add_multi) +thandle = get_handle(out, add_table["add"]) chandle = get_handle(out, add_chain["add"]) shandle = get_handle(out, add_set["add"]) rhandle = get_handle(out, add_rule["add"]) -- cgit v1.2.3