From e3d37a82e10ddf0405ef350edb630cf68936a677 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Tue, 21 Sep 2021 19:45:56 +0100 Subject: [PATCH] Problem: some tests time out in CI under Valgrind Solution: triple the timeouts --- tests/test_proxy.cpp | 2 +- tests/test_security_curve.cpp | 2 +- tests/test_shutdown_stress.cpp | 2 +- tests/test_socks.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_proxy.cpp b/tests/test_proxy.cpp index e5c855fe..5666721b 100644 --- a/tests/test_proxy.cpp +++ b/tests/test_proxy.cpp @@ -462,7 +462,7 @@ void test_proxy () int main (void) { - setup_test_environment (); + setup_test_environment (360); UNITY_BEGIN (); RUN_TEST (test_proxy); diff --git a/tests/test_security_curve.cpp b/tests/test_security_curve.cpp index 45de7581..edc74cde 100644 --- a/tests/test_security_curve.cpp +++ b/tests/test_security_curve.cpp @@ -564,7 +564,7 @@ int main (void) setup_testutil_security_curve (); - setup_test_environment (); + setup_test_environment (180); UNITY_BEGIN (); RUN_TEST (test_curve_security_with_valid_credentials); diff --git a/tests/test_shutdown_stress.cpp b/tests/test_shutdown_stress.cpp index 23dd4dbc..11fb1362 100644 --- a/tests/test_shutdown_stress.cpp +++ b/tests/test_shutdown_stress.cpp @@ -89,7 +89,7 @@ void test_shutdown_stress () int main () { - setup_test_environment (); + setup_test_environment (180); UNITY_BEGIN (); RUN_TEST (test_shutdown_stress); diff --git a/tests/test_socks.cpp b/tests/test_socks.cpp index 396c76fb..4d7b42ed 100644 --- a/tests/test_socks.cpp +++ b/tests/test_socks.cpp @@ -871,7 +871,7 @@ void test_socks_userpass_options (void) int main () { - setup_test_environment (); + setup_test_environment (180); UNITY_BEGIN (); RUN_TEST (test_socks_proxy_options);