Commit 31b2c104 authored by Vsevolod Buzinov's avatar Vsevolod Buzinov Committed by Vsevolod Buzinov
Browse files

Fix AnimationUtilsTest failure due to the timing dependency

testCurrentAnimationTimeMillis tests that the animation timestamp
is incremented during at most 1000 iterations, which is not guaranteed
to happen.

Loosen the condition by adding a 1 ms sleep between the iterations.  This
extends the wait from a very small unspecified number to 1000 ms.

Change-Id: I8aedd6ac92005de310bc7a58042fe1822e6104dc
parent 0ced9d3c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment