mirror of
https://github.com/androidx/media.git
synced 2025-05-05 14:40:50 +08:00

Based on 1000 test runs an emulator, with the current timeout releasing fails (even with no custom effects) about one percent of the time. Releasing normally completes in about 30 ms but occasionally `eglTerminate` took up to 200 ms (and even releasing an effect took up to 80 ms in one case). With the new timeout of 500 ms, we still catch stuck effects reasonably quickly but the number of flaky test failures should be less than one in ten thousand. PiperOrigin-RevId: 512690715