From: Phil Sutter Date: Fri, 7 Jun 2019 17:21:18 +0000 (+0200) Subject: tests/json_echo: Drop needless workaround X-Git-Tag: v0.9.1~36 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7a11d807058cfdc684064ad064d9ea904e4b43de;p=thirdparty%2Fnftables.git 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 --- 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"])