validate: launcher: add --fair-sched=try to valgrind args

Enables fairer scheduling of threads in valgrind, possibly
at cost of performance though.

Hopefully helps with valgrind core/base jobs deadlocking or
timing out when runners are not under load.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7753>
This commit is contained in:
Tim-Philipp Müller 2024-10-26 00:18:51 +01:00
parent b3a5da5b5c
commit f64cf9998f

View file

@ -638,6 +638,7 @@ class Test(Loggable):
for o, v in [('trace-children', 'yes'),
('tool', 'memcheck'),
('fair-sched', 'try'),
('leak-check', 'full'),
('leak-resolution', 'high'),
# TODO: errors-for-leak-kinds should be set to all instead of definite