File: increase-test-timeout.patch

package info (click to toggle)
gstreamer-editing-services1.0 1.26.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,228 kB
  • sloc: ansic: 63,573; python: 4,167; lex: 57; makefile: 28; cpp: 20
file content (25 lines) | stat: -rw-r--r-- 876 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Jeremy Bicha <jeremy.bicha@canonical.com>
Date: Fri, 27 May 2022 13:52:25 -0400
Subject: increase test timeout

https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1246
---
 tests/check/nle/nleoperation.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tests/check/nle/nleoperation.c b/tests/check/nle/nleoperation.c
index 2e8be8b..21ca93e 100644
--- a/tests/check/nle/nleoperation.c
+++ b/tests/check/nle/nleoperation.c
@@ -718,6 +718,11 @@ gnonlin_suite (void)
 
   suite_add_tcase (s, tc_chain);
 
+  /* give the tests a little more time than the default
+   * CK_DEFAULT_TIMEOUT=20, this is sometimes needed for running under
+   * valgrind */
+  tcase_set_timeout (tc_chain, 40.0);
+
   tcase_add_test (tc_chain, test_simple_operation);
   tcase_add_test (tc_chain, test_pyramid_operations);
   tcase_add_test (tc_chain, test_pyramid_operations2);