diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-11-21 16:33:17 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-11-21 20:21:14 +0100 |
commit | bab3ede002da778e18fa5f30ac7b05c4de5e1de8 (patch) | |
tree | d0380202e264dac5302ed051b7a854ef991a61c0 /tests/shell/testcases/sets/dumps/0062set_connlimit_0.nft | |
parent | 9919f3aa5ebdd50bb6c91a88839d760181279426 (diff) |
tests: shell: flush connlimit sets
Restored elements via set declaration are removed almost inmediately by
GC, this is causing spurious failures in test runs.
Flush sets to ensure dump is always consistent. Still, cover that
restoring a set with connlimit elements do not.
Fixes: 95d348d55a9e ("tests: shell: extend connlimit test")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell/testcases/sets/dumps/0062set_connlimit_0.nft')
-rw-r--r-- | tests/shell/testcases/sets/dumps/0062set_connlimit_0.nft | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/shell/testcases/sets/dumps/0062set_connlimit_0.nft b/tests/shell/testcases/sets/dumps/0062set_connlimit_0.nft index 080d675c..13bbb953 100644 --- a/tests/shell/testcases/sets/dumps/0062set_connlimit_0.nft +++ b/tests/shell/testcases/sets/dumps/0062set_connlimit_0.nft @@ -3,7 +3,6 @@ table ip x { type ipv4_addr size 65535 flags dynamic - elements = { 84.245.120.167 ct count over 20 } } set new-connlimit { @@ -11,6 +10,5 @@ table ip x { size 65535 flags dynamic ct count over 20 - elements = { 84.245.120.167 ct count over 20 } } } |