mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
validate:launcher: Take into account the timeout when checking EOS
This commit is contained in:
parent
6f9e5d4494
commit
ad28bffa20
1 changed files with 4 additions and 3 deletions
|
@ -755,12 +755,13 @@ class GstValidateTest(Test):
|
||||||
if self.scenario:
|
if self.scenario:
|
||||||
if self._sent_eos_time is not None:
|
if self._sent_eos_time is not None:
|
||||||
t = time.time()
|
t = time.time()
|
||||||
if ((t - self._sent_eos_time)) > 30:
|
if ((t - self._sent_eos_time)) > self.timeout:
|
||||||
if self.media_descriptor is not None and self.media_descriptor.get_protocol() == Protocols.HLS:
|
if self.media_descriptor is not None and self.media_descriptor.get_protocol() == Protocols.HLS:
|
||||||
self.set_result(Result.PASSED,
|
self.set_result(Result.PASSED,
|
||||||
"""Got no EOS 30 seconds after sending EOS,
|
"""Got no EOS %s seconds after sending EOS,
|
||||||
in HLS known and tolerated issue:
|
in HLS known and tolerated issue:
|
||||||
https://bugzilla.gnome.org/show_bug.cgi?id=723868""")
|
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/132"""
|
||||||
|
% self.timeout)
|
||||||
return Result.KNOWN_ERROR
|
return Result.KNOWN_ERROR
|
||||||
|
|
||||||
self.set_result(
|
self.set_result(
|
||||||
|
|
Loading…
Reference in a new issue