-
Committer:
Bileto Bot
-
Author(s):
Gerry Boland
-
Date:
2017-03-20 21:15:29 UTC
-
mfrom:
(617.2.3 allow-valgrind1)
-
Revision ID:
ci-train-bot@canonical.com-20170320211529-zrbpo2l1bwmdcx5m
Extend timeouts when running under valgrind
When QMirServer is starting up, it spawns a separate thread for Mir to startup and waits for it. As valgrind slows execution greatly, the QMirServer timeout triggers before Mir has started, causing the QMirServer to think it failed and exit.
This patch adds ability to detect when running under valgrind and extending timeouts to suit.
Approved by: Daniel d'Andrada, Unity8 CI Bot