tests: jpegdec: bump discoverer timeout for valgrind
authorTim-Philipp Müller <tim@centricular.com>
Mon, 1 Apr 2019 17:20:53 +0000 (18:20 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 1 Apr 2019 17:20:53 +0000 (18:20 +0100)
Tests might take a bit longer, esp. when run under valgrind
and/or they're running on the CI with other things going on,
so let's just bump the timeout to something higher and let
the test runner time us out if needed.

tests/check/elements/jpegdec.c

index f6ac523..bf7eb92 100644 (file)
@@ -88,7 +88,7 @@ GST_START_TEST (test_jpegdec_discover)
   GstDiscovererInfo *info;
   GstDiscovererVideoInfo *video;
 
-  disco = gst_discoverer_new (5 * GST_SECOND, &error);
+  disco = gst_discoverer_new (60 * GST_SECOND, &error);
 
   fail_unless (GST_IS_DISCOVERER (disco));
   fail_unless (error == NULL, "%s", (error ? error->message : ""));