From 6d50e520bed653bc12b30a9936af77c8fe3b4efd Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Mon, 21 Aug 2023 17:16:49 +0200 Subject: tests/shell: expand vmap test case to also cause batch abort Let the last few batches also push an update that contains elements twice. This is expected to cause the batch to be aborted, which increases code coverage on kernel side. Signed-off-by: Florian Westphal --- tests/shell/testcases/maps/dumps/vmap_timeout.nft | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/shell/testcases/maps/dumps/vmap_timeout.nft') diff --git a/tests/shell/testcases/maps/dumps/vmap_timeout.nft b/tests/shell/testcases/maps/dumps/vmap_timeout.nft index 295971ab..095f894d 100644 --- a/tests/shell/testcases/maps/dumps/vmap_timeout.nft +++ b/tests/shell/testcases/maps/dumps/vmap_timeout.nft @@ -2,12 +2,14 @@ table inet filter { map portmap { type inet_service : verdict flags timeout + gc-interval 10s elements = { 22 : jump ssh_input } } map portaddrmap { typeof ip daddr . th dport : verdict flags timeout + gc-interval 10s elements = { 1.2.3.4 . 22 : jump ssh_input } } -- cgit v1.2.3