From ad4de2284dc47a88c1c73cc7bc55a745fec9eb13 Mon Sep 17 00:00:00 2001 From: Jozsef Kadlecsik Date: Fri, 14 Oct 2016 23:38:30 +0200 Subject: Correct tests to check the number of entries too Give enough time for the entries to timeout before listing, so that we get the correct number of entries. Signed-off-by: Jozsef Kadlecsik --- tests/hash:net,net.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/hash:net,net.t') diff --git a/tests/hash:net,net.t b/tests/hash:net,net.t index b63ff32..13f1198 100644 --- a/tests/hash:net,net.t +++ b/tests/hash:net,net.t @@ -1,5 +1,5 @@ # Create a set with timeout -0 ipset create test hash:net,net hashsize 128 timeout 5 +0 ipset create test hash:net,net hashsize 128 timeout 4 # Add zero valued element 1 ipset add test 0.0.0.0/0,0.0.0.0/0 # Test zero valued element -- cgit v1.2.3