From c1821e9ed2ba8b36170207f96ff6aa14748a28df Mon Sep 17 00:00:00 2001 From: Andras Fekete Date: Tue, 22 Aug 2023 09:43:33 -0400 Subject: [PATCH] Decrease timeout to 1m. Most tests complete in seconds --- scripts/dtls.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dtls.test b/scripts/dtls.test index 99689a5b1..0b03fbbe7 100755 --- a/scripts/dtls.test +++ b/scripts/dtls.test @@ -74,7 +74,7 @@ run_test() { # usage: run_test "" "" "" " UDP_PROXY_PID=$(($! - 1)) sleep 0.2 # Wrap this command in a timeout so that a deadlock won't bring down the entire test - timeout -s KILL 5m stdbuf -oL -eL $WOLFSSL_ROOT/examples/client/client -u -p$PROXY_PORT $DTLS_VERSION $4 2>&1 | prepend "[client] " + timeout -s KILL 1m stdbuf -oL -eL $WOLFSSL_ROOT/examples/client/client -u -p$PROXY_PORT $DTLS_VERSION $4 2>&1 | prepend "[client] " if [ $? != 0 ]; then echo "***Test failed***" ((NUM_TESTS_FAILED++))