SimpleFdLimit test: serialize Close ops at the end.
If the closes run in parallel, there is some non-determinism in timing of when they re-acquire FDs to finalize writes to disk and release FDs afterwards, making exact behavior of FD limiter dependent on execution schedule, especially on number of threads ScopedTaskEnvironment uses. Change-Id: Id0da08ba64d24816835b155440cb7327dfcdf889 Reviewed-on: https://chromium-review.googlesource.com/c/1459519Reviewed-by:Asanka Herath <asanka@chromium.org> Commit-Queue: Maks Orlovich <morlovich@chromium.org> Cr-Commit-Position: refs/heads/master@{#630116}
Showing
Please register or sign in to comment