diff options
author | Phil Sutter <phil@nwl.cc> | 2019-06-07 19:21:18 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-06-07 23:54:51 +0200 |
commit | 7a11d807058cfdc684064ad064d9ea904e4b43de (patch) | |
tree | f89634d06021d698ad93d7f81ac3755beb53eaca /tests/json_echo | |
parent | 9f5c65f72fd8b357b6d9e504fa3d9e8edcfa67a0 (diff) |
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 <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/json_echo')
-rwxr-xr-x | tests/json_echo/run-test.py | 6 |
1 files changed, 2 insertions, 4 deletions
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"]) |