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:
parent
27fac9dd86
commit
d075d4f9ca
7 changed files with 9 additions and 9 deletions
|
@ -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()
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue