summaryrefslogtreecommitdiff
path: root/tests/hash:net.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:net.t
parent5ad55ac803a8b4969fe5b0e7b526c2e1e890c226 (diff)
downloadipset-ad4de2284dc47a88c1c73cc7bc55a745fec9eb13.tar.gz
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:net.t')
-rw-r--r--tests/hash:net.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hash:net.t b/tests/hash:net.t
index 6f54c25..e73f29c 100644
--- a/tests/hash:net.t
+++ b/tests/hash:net.t
@@ -1,5 +1,5 @@
# Create a set with timeout
-0 ipset create test nethash hashsize 128 timeout 5
+0 ipset create test nethash hashsize 128 timeout 4
# Add zero valued element
1 ipset add test 0.0.0.0/0
# Test zero valued element