~compiz-team/compiz/0.9.8

Viewing all changes in revision 3293.

  • Committer: Tarmac
  • Author(s): Daniel van Vugt
  • Date: 2012-07-25 14:04:46 UTC
  • mfrom: (3282.2.1 order)
  • Revision ID: tarmac-20120725140446-cakw61kwv5z0jiu7
Fixed CompTimerTestCallback.TimerOrder failure on slow systems (like valgrind)
(LP: #1021139)

If the environment (like valgrind in ExperimentalMemCheck) is so slow that it
took more than 50ms to schedule the tests, then they would all be overdue
on startup (instead of just one of them) and the order would not be
predictable. So I spread the timers out over longer intervals and reduced
the number of repetitions to stop the new test from taking too long.. Fixes: https://bugs.launchpad.net/bugs/1021139. Approved by jenkins, Sam Spilsbury.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: