]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: shell: flush connlimit sets
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 21 Nov 2023 15:33:17 +0000 (16:33 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 21 Nov 2023 19:21:14 +0000 (20:21 +0100)
commitbab3ede002da778e18fa5f30ac7b05c4de5e1de8
treed0380202e264dac5302ed051b7a854ef991a61c0
parent9919f3aa5ebdd50bb6c91a88839d760181279426
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>
tests/shell/testcases/sets/0062set_connlimit_0
tests/shell/testcases/sets/dumps/0062set_connlimit_0.nft