1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

ctest: increase timeouts on tests using warmcat

This commit is contained in:
Andy Green 2021-09-09 08:26:14 +01:00
parent 27fac9dd86
commit d075d4f9ca
7 changed files with 9 additions and 9 deletions

View file

@ -52,7 +52,7 @@ if (requirements)
set_tests_properties(ssblob-warmcat
PROPERTIES
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/minimal-examples/secure-streams/minimal-secure-streams
TIMEOUT 20)
TIMEOUT 40)
if (DEFINED ENV{SAI_OVN})
set_tests_properties(ssblob-warmcat PROPERTIES FIXTURES_REQUIRED "res_sspcmin")
endif()

View file

@ -51,7 +51,7 @@ if (requirements)
set_tests_properties(ssperf-warmcat
PROPERTIES
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/minimal-examples/secure-streams/minimal-secure-streams
TIMEOUT 20)
TIMEOUT 40)
if (DEFINED ENV{SAI_OVN})
set_tests_properties(ssperf-warmcat PROPERTIES FIXTURES_REQUIRED "res_ssperfpcmin")
endif()

View file

@ -325,7 +325,7 @@ int main(int argc, const char **argv)
/* set up the test timeout */
lws_sul_schedule(context, 0, &sul_timeout, sul_timeout_cb,
(how_many_msg * (usec_interval + 1000)) + LWS_US_PER_SEC);
(how_many_msg * (usec_interval + 50000)) + LWS_US_PER_SEC);
/* the event loop */

View file

@ -200,11 +200,11 @@ multi_myss_state(void *userobj, void *h_src, lws_ss_constate_t state,
/*
* Because in this test everybody is watching and counting
* everybody else's messages from different forks, we have to
* hold off starting sending for 1s so all forks can join the
* hold off starting sending for 2s so all forks can join the
* proxy first and not miss anything
*/
lws_sul_schedule(lws_ss_get_context(m->ss), 0, &m->sul,
sul_multi_tx_periodic_cb, 1 * LWS_US_PER_SEC);
sul_multi_tx_periodic_cb, 2 * LWS_US_PER_SEC);
m->starting = 0;
return 0;
case LWSSSCS_DISCONNECTED:

View file

@ -52,7 +52,7 @@ if (requirements)
set_tests_properties(ssstress-warmcat
PROPERTIES
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/minimal-examples/secure-streams/minimal-secure-streams-stress
TIMEOUT 20)
TIMEOUT 60)
if (DEFINED ENV{SAI_OVN})
set_tests_properties(ssstress-warmcat PROPERTIES FIXTURES_REQUIRED "res_sspcmin")
endif()
@ -132,4 +132,4 @@ if (requirements)
endif()
endif()
endif()
endif()

View file

@ -42,7 +42,7 @@
static int interrupted, bad = 1, force_cpd_fail_portal,
force_cpd_fail_no_internet, test_respmap, test_ots,
budget = 1, predicted_good = 1, good, orig_budget;
static unsigned int timeout_ms = 3000;
static unsigned int timeout_ms = 8000;
static lws_state_notify_link_t nl;
struct lws_context *context;
static lws_sorted_usec_list_t sul_timeout; /* for each process to complete */

View file

@ -53,7 +53,7 @@ if (requirements)
set_tests_properties(ss-warmcat
PROPERTIES
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/minimal-examples/secure-streams/minimal-secure-streams
TIMEOUT 20)
TIMEOUT 40)
if (DEFINED ENV{SAI_OVN})
set_tests_properties(ss-warmcat PROPERTIES FIXTURES_REQUIRED "res_sspcmin")
endif()