mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
tests/clutter/timeline-interpolate: Maximize error tolerance
Simply to make it less flaky. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1291
This commit is contained in:
parent
7222bdde57
commit
1eaf9e5f63
@ -15,10 +15,11 @@
|
|||||||
/* We are at the mercy of the system scheduler so this
|
/* We are at the mercy of the system scheduler so this
|
||||||
* may not be a very reliable tolerance.
|
* may not be a very reliable tolerance.
|
||||||
*
|
*
|
||||||
* It's set as very tolerable as otherwise CI, which are
|
* It's set as very tolerable (1 ms shorter than the frame interval) as
|
||||||
* very prone to not get CPU time scheduled, tend to often fail.
|
* 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
|
typedef struct _TestState
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user