summaryrefslogtreecommitdiffstats
path: root/tests/hash:ip6.t
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2010-12-13 17:46:23 +0100
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2010-12-13 17:46:23 +0100
commitd5125000ff9d5af0f3b4b4c1dde9230c2438b110 (patch)
tree4ae6c30974ccec2dd1ebcf757fdd26cfc3cb5000 /tests/hash:ip6.t
parent49e8041b484d32f2b18443f2d60184a83eb0392a (diff)
Speed up testing a little bit
Lower timeout values to max 5s, so we can lower sleep values too.
Diffstat (limited to 'tests/hash:ip6.t')
-rw-r--r--tests/hash:ip6.t10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/hash:ip6.t b/tests/hash:ip6.t
index dae9e1e..7b206c7 100644
--- a/tests/hash:ip6.t
+++ b/tests/hash:ip6.t
@@ -24,8 +24,8 @@
0 ipset -L test | sed 's/timeout ./timeout x/' > .foo0 && ./sort.sh .foo0
# IP: Check listing
0 diff -I 'Size in memory.*' .foo hash:ip6.t.list2 && rm .foo
-# Sleep 6s so that element can time out
-0 sleep 6
+# Sleep 5s so that element can time out
+0 sleep 5
# IP: List set
0 ipset -L test 2>/dev/null > .foo0 && ./sort.sh .foo0
# IP: Check listing
@@ -35,7 +35,7 @@
# IP: Delete test set
0 ipset -X test
# Network: Create a set with timeout
-0 ipset -N test iphash -6 --hashsize 128 --netmask 64 timeout 6
+0 ipset -N test iphash -6 --hashsize 128 --netmask 64 timeout 5
# Network: Add zero valued element
1 ipset -A test ::
# Network: Test zero valued element
@@ -64,8 +64,8 @@
0 ipset -L test | sed 's/timeout ./timeout x/' > .foo0 && ./sort.sh .foo0
# Network: Check listing
0 diff -I 'Size in memory.*' .foo hash:ip6.t.list3 && rm .foo
-# Sleep 6s so that elements can time out
-0 sleep 6
+# Sleep 5s so that elements can time out
+0 sleep 5
# Network: List set
0 ipset -L test > .foo
# Network: Check listing