mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
tests/srtp: Bump up timeout to 3mins for testcase
This involves generating and processing 65536 packets, let's give it time to actually complete that. And a bit of debug to track what's going on.
This commit is contained in:
parent
6e1e87d403
commit
d4bf5aeae9
1 changed files with 4 additions and 0 deletions
|
@ -115,6 +115,9 @@ roc_check_probe (GstPad * pad, GstPadProbeInfo * info, gpointer user_data)
|
||||||
roc_check_data *data = user_data;
|
roc_check_data *data = user_data;
|
||||||
GstElement *e = GST_PAD_PARENT (pad);
|
GstElement *e = GST_PAD_PARENT (pad);
|
||||||
|
|
||||||
|
if (G_UNLIKELY (data->counter % 8192 == 0))
|
||||||
|
GST_DEBUG_OBJECT (pad, "counter at %d", data->counter);
|
||||||
|
|
||||||
/* record first roc, then wait for 2^16 packets to pass */
|
/* record first roc, then wait for 2^16 packets to pass */
|
||||||
if (data->counter == 0) {
|
if (data->counter == 0) {
|
||||||
data->start_roc = get_roc (e);
|
data->start_roc = get_roc (e);
|
||||||
|
@ -211,6 +214,7 @@ srtp_suite (void)
|
||||||
TCase *tc_chain = tcase_create ("general");
|
TCase *tc_chain = tcase_create ("general");
|
||||||
|
|
||||||
suite_add_tcase (s, tc_chain);
|
suite_add_tcase (s, tc_chain);
|
||||||
|
tcase_set_timeout (tc_chain, 180);
|
||||||
tcase_add_test (tc_chain, test_create_and_unref);
|
tcase_add_test (tc_chain, test_create_and_unref);
|
||||||
tcase_add_test (tc_chain, test_play);
|
tcase_add_test (tc_chain, test_play);
|
||||||
tcase_add_test (tc_chain, test_roc);
|
tcase_add_test (tc_chain, test_roc);
|
||||||
|
|
Loading…
Reference in a new issue