summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeungha Yang <seungha@centricular.com>2020-09-15 00:54:58 +0900
committerSeungha Yang <seungha@centricular.com>2020-09-15 00:54:58 +0900
commitf44312ae5d831438fcf8041162079c65321c588c (patch)
tree167fdad6a946d5c9a77a3ab70aa784d2b0e2e389
parent62f2a86eeae298fd1ead7ea2c4176562004b1942 (diff)
tests: seek: Don't use too strict timeout for validation
Expected segment-done message might not be seen within expected time if system is not powerful enough. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/625>
-rw-r--r--tests/check/pipelines/seek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check/pipelines/seek.c b/tests/check/pipelines/seek.c
index 28bb8846d2..5f7447bc57 100644
--- a/tests/check/pipelines/seek.c
+++ b/tests/check/pipelines/seek.c
@@ -521,7 +521,7 @@ GST_START_TEST (test_loopback_2)
GST_INFO ("wait for segment done message");
- msg = gst_bus_timed_pop_filtered (bus, (GstClockTime) 2 * GST_SECOND,
+ msg = gst_bus_timed_pop_filtered (bus, GST_CLOCK_TIME_NONE,
GST_MESSAGE_SEGMENT_DONE | GST_MESSAGE_ERROR);
fail_unless (msg, "no message within the timed window");
fail_unless_equals_string (GST_MESSAGE_TYPE_NAME (msg), "segment-done");