tests: jpegdec: bump discoverer timeout for valgrind

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.
This commit is contained in:
Tim-Philipp Müller 2019-04-01 18:20:53 +01:00
parent f23724b8a6
commit abef4e4ea3

View file

@ -88,7 +88,7 @@ GST_START_TEST (test_jpegdec_discover)
GstDiscovererInfo *info; GstDiscovererInfo *info;
GstDiscovererVideoInfo *video; 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 (GST_IS_DISCOVERER (disco));
fail_unless (error == NULL, "%s", (error ? error->message : "")); fail_unless (error == NULL, "%s", (error ? error->message : ""));