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/portmap.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/portmap.t')
-rw-r--r-- | tests/portmap.t | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/portmap.t b/tests/portmap.t index 54fd6f1..989a83b 100644 --- a/tests/portmap.t +++ b/tests/portmap.t @@ -53,7 +53,7 @@ # Full: Delete test set 0 ipset -X test # Full: Create a full set of ports and timeout -0 ipset -N test portmap --from 0 --to 65535 timeout 8 +0 ipset -N test portmap --from 0 --to 65535 timeout 5 # Full: Add lower boundary 0 ipset -A test 0 timeout 5 # Full: Add upper boundary @@ -72,8 +72,8 @@ 0 ipset -L test | sed 's/timeout ./timeout x/' > .foo # Full: Check listing 0 diff -I 'Size in memory.*' .foo portmap.t.list3 && rm .foo -# Full: sleep 10s so that elements can timeout -0 sleep 10 +# Full: sleep 5s so that elements can timeout +0 sleep 5 # Full: List set 0 ipset -L test > .foo # Full: Check listing |