tests: basetime: fix timeouts when running under valgrind
authorTim-Philipp Müller <tim@centricular.com>
Sat, 4 Apr 2015 00:23:48 +0000 (01:23 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 4 Apr 2015 00:26:17 +0000 (01:26 +0100)
commit73278948a3469c4065d6b79478de6ac26cbd6b32
tree422c31f851318e94b3c1b524251daa3bea1d4b05
parent609d021f964f58b9e48dfcb24f83132ff9589c4a
tests: basetime: fix timeouts when running under valgrind

This test sets a rather short timeout, increase this when
we run under valgrind. Also add a short sleep to the
fakesrc ! fakesink pipeline to avoid thrashing the CPU,
which would often not stop the main loop when it should.

Also fix wrong (0.10) return value from pad probe callback.
tests/check/pipelines/basetime.c