diff --git a/tests/test-cookie-invalidation b/tests/test-cookie-invalidation index 841f2a58..92808bff 100755 --- a/tests/test-cookie-invalidation +++ b/tests/test-cookie-invalidation @@ -77,7 +77,7 @@ rm -f "${PIDFILE2}" # In 0.11.10 the server behavior changed to allow immediate reconnection, # with a cookie that was explicitly terminated by the user, as anyconnect # clients follow that behavioral pattern. -sleep 12 +sleep 18 echo "Proper termination and connecting again with same (invalidated) cookie... " #( echo "test" | $OPENCONNECT -q localhost:$PORT -u test -C "$COOKIE" --servercert=d66b507ae074d03b02eafca40d35f87dd81049d3 --cookieonly >/dev/null 2>&1 ) || diff --git a/tests/test-cookie-timeout b/tests/test-cookie-timeout index a14c8994..77a0fe7b 100755 --- a/tests/test-cookie-timeout +++ b/tests/test-cookie-timeout @@ -39,7 +39,7 @@ if [ -z "$COOKIE" ];then fi #echo "Cookie: $COOKIE" -sleep 10 +sleep 16 echo "" echo "Connecting with cookie... " echo "test" | $OPENCONNECT -q -b localhost:$PORT -u test -C "$COOKIE" --servercert=d66b507ae074d03b02eafca40d35f87dd81049d3 --script=/bin/true --verbose --pid-file "${PIDFILE}" --background @@ -54,7 +54,7 @@ CPID=`cat "${PIDFILE}"` kill $CPID rm -f "${PIDFILE}" -sleep 10 +sleep 16 echo "" echo "Connecting again with cookie... " echo "test" | $OPENCONNECT -b -q localhost:$PORT -u test -C "$COOKIE" --servercert=d66b507ae074d03b02eafca40d35f87dd81049d3 --script=/bin/true --verbose --pid-file "${PIDFILE}" --background @@ -69,7 +69,7 @@ CPID=`cat "${PIDFILE}"` kill -9 $CPID rm -f "${PIDFILE}" -sleep 10 +sleep 16 echo "" echo "Connecting after forced kill with cookie... " echo "test" | $OPENCONNECT -b -q localhost:$PORT -u test -C "$COOKIE" --servercert=d66b507ae074d03b02eafca40d35f87dd81049d3 --script=/bin/true --verbose --pid-file "${PIDFILE}" --background @@ -85,7 +85,7 @@ kill $CPID rm -f "${PIDFILE}" -sleep 40 +sleep 45 echo "" echo "Connecting with cookie after expiration... " echo "test" | $OPENCONNECT -q -b localhost:$PORT -u test -C "$COOKIE" --servercert=d66b507ae074d03b02eafca40d35f87dd81049d3 --script=/bin/true --verbose --pid-file "${PIDFILE}" --background