owl icon indicating copy to clipboard operation
owl copied to clipboard

[FIX] remove indeterminism in animation tests

Open SimonGenin opened this issue 4 years ago • 2 comments

Animations have quite a few intricate calls to request next animation frames. On quick devices, the helper method nextFrame made of 2 request of animation frames would not be enough and race condition problems would rise.

The fix is simply to ask the nextFrame helper to do a third request of animation frame in the animation tests, making the test deterministic on a very fast device. Hopefully, this should be enough.

SimonGenin avatar Oct 04 '21 09:10 SimonGenin

Apparently it is no quite ready..

SimonGenin avatar Oct 04 '21 11:10 SimonGenin

:(

ged-odoo avatar Oct 04 '21 12:10 ged-odoo