[Android] Photo Picker: Deflake 2 DecoderServiceHost tests.
The order of decoding is determined by a few things, which (if all else is equal) falls back on creation time (Date() timestamp) to enforce FIFO decoding. However, the granularity of that is milliseconds, so back to back requests occasionally have the same timestamp and then the decoding order is no longer deterministic, which messes up the tests. This CL removes the timestamp and replaces it with an ordinal, to ensure FIFO order for identical requests. Bug: 1054520, 1054502, 656015 Change-Id: Ia745548619f866b53dc7e9071c191eea6d4d1fbe Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2116055 Auto-Submit: Finnur Thorarinsson <finnur@chromium.org> Reviewed-by:Theresa <twellington@chromium.org> Commit-Queue: Finnur Thorarinsson <finnur@chromium.org> Cr-Commit-Position: refs/heads/master@{#753155}
Showing
Please register or sign in to comment