summaryrefslogtreecommitdiffstats
path: root/tests/hash:ip,port.t
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2016-10-14 23:38:30 +0200
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2016-10-14 23:38:30 +0200
commitad4de2284dc47a88c1c73cc7bc55a745fec9eb13 (patch)
treea5a9f6bf1ae5b19a19e99758b12d10e47df8cc56 /tests/hash:ip,port.t
parent5ad55ac803a8b4969fe5b0e7b526c2e1e890c226 (diff)
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 <kadlec@blackhole.kfki.hu>
Diffstat (limited to 'tests/hash:ip,port.t')
-rw-r--r--tests/hash:ip,port.t2
1 files changed, 1 insertions, 1 deletions
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