From d5125000ff9d5af0f3b4b4c1dde9230c2438b110 Mon Sep 17 00:00:00 2001 From: Jozsef Kadlecsik Date: Mon, 13 Dec 2010 17:46:23 +0100 Subject: Speed up testing a little bit Lower timeout values to max 5s, so we can lower sleep values too. --- tests/portmap.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/portmap.t') 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 -- cgit v1.2.3