diff --git a/src/tests/clutter/conform/timeline-interpolate.c b/src/tests/clutter/conform/timeline-interpolate.c index aa3556b59..db17b6784 100644 --- a/src/tests/clutter/conform/timeline-interpolate.c +++ b/src/tests/clutter/conform/timeline-interpolate.c @@ -15,10 +15,11 @@ /* We are at the mercy of the system scheduler so this * may not be a very reliable tolerance. * - * It's set as very tolerable as otherwise CI, which are - * very prone to not get CPU time scheduled, tend to often fail. + * It's set as very tolerable (1 ms shorter than the frame interval) as + * otherwise CI, which are very prone to not get CPU time scheduled, tend to + * often fail. */ -#define TEST_ERROR_TOLERANCE 150 +#define TEST_ERROR_TOLERANCE ((TEST_TIMELINE_FPS / 4) - 1) typedef struct _TestState {