mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
validate: don't increase hard_timeout is if it's None
Some tests, like the media check ones, have None as hard_timeout.
This commit is contained in:
parent
daaa32676c
commit
9ad79ffcbc
1 changed files with 2 additions and 1 deletions
|
@ -308,7 +308,8 @@ class Test(Loggable):
|
||||||
self.proc_env['G_SLICE'] = 'always-malloc'
|
self.proc_env['G_SLICE'] = 'always-malloc'
|
||||||
self.add_env_variable('G_SLICE', 'always-malloc')
|
self.add_env_variable('G_SLICE', 'always-malloc')
|
||||||
|
|
||||||
self.hard_timeout *= VALGRIND_TIMEOUT_FACTOR
|
if self.hard_timeout is not None:
|
||||||
|
self.hard_timeout *= VALGRIND_TIMEOUT_FACTOR
|
||||||
self.timeout *= VALGRIND_TIMEOUT_FACTOR
|
self.timeout *= VALGRIND_TIMEOUT_FACTOR
|
||||||
|
|
||||||
def test_start(self, queue):
|
def test_start(self, queue):
|
||||||
|
|
Loading…
Reference in a new issue