tests: updated for increase in slack time

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
This commit is contained in:
Nikos Mavrogiannopoulos
2018-01-06 08:53:57 +01:00
parent bb40586630
commit 7a19296119
2 changed files with 5 additions and 5 deletions

View File

@@ -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 ) ||

View File

@@ -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