diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2010-12-13 17:46:23 +0100 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2010-12-13 17:46:23 +0100 |
commit | d5125000ff9d5af0f3b4b4c1dde9230c2438b110 (patch) | |
tree | 4ae6c30974ccec2dd1ebcf757fdd26cfc3cb5000 /tests/hash:net6,port.t | |
parent | 49e8041b484d32f2b18443f2d60184a83eb0392a (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:net6,port.t')
-rw-r--r-- | tests/hash:net6,port.t | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/hash:net6,port.t b/tests/hash:net6,port.t index bfb6f27..099c4f5 100644 --- a/tests/hash:net6,port.t +++ b/tests/hash:net6,port.t @@ -1,5 +1,5 @@ # Create a set with timeout -0 ipset create test hash:net,port family inet6 hashsize 128 timeout 6 +0 ipset create test hash:net,port family inet6 hashsize 128 timeout 5 # Add zero valued element 1 ipset add test ::/0,tcp:8 # Test zero valued element @@ -38,8 +38,8 @@ 0 ipset list test | sed 's/timeout ./timeout x/' > .foo0 && ./sort.sh .foo0 # Check listing 0 diff -I 'Size in memory.*' .foo hash:net6,port.t.list0 && 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 |