-
Committer:
Tarmac
-
Author(s):
Daniel van Vugt
-
Date:
2017-03-13 10:57:40 UTC
-
mfrom:
(4072.4.3 fix-1671037)
-
Revision ID:
tarmac-20170313105740-8ulfy3uvdeaoxy3c
Yield on every loop iteration because under valgrind threads are
virtualized and fair scheduling does not exist. (LP: #1671037)
Without this the test takes up to 10 minutes under valgrind and fails.
With this change it takes under 100 milliseconds to pass.
. Fixes: https://bugs.launchpad.net/bugs/1671037.
Approved by Alan Griffiths, mir-ci-bot.