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:ip,port.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/hash:ip,port.t') diff --git a/tests/hash:ip,port.t b/tests/hash:ip,port.t index fc5d466..be323e0 100644 --- a/tests/hash:ip,port.t +++ b/tests/hash:ip,port.t @@ -1,5 +1,5 @@ # Create a set with timeout -0 ipset create test hash:ip,port timeout 5 +0 ipset create test hash:ip,port timeout 4 # Add partly zero valued element 0 ipset add test 2.0.0.1,0 # Test partly zero valued element -- cgit v1.2.3