Allow SchedulerWorkerPoolImplTests to wait longer for capacity increase.
Previously the tests would wait up to four times in the ExpectWorkerCapacityAfterDelay() helper function, which leads to them flaking sometimes under systems with heavy load, or systems running under slow emulation, such as QEMU. We now allow the test to wait indefinitely, provided that the capacity of the worker pool is stable, or increases. Bug: 792310 Change-Id: Ida8aa3abbb2d290771f74a7aae4ba7fe5c2176a0 Reviewed-on: https://chromium-review.googlesource.com/809710Reviewed-by:François Doray <fdoray@chromium.org> Commit-Queue: Wez <wez@chromium.org> Cr-Commit-Position: refs/heads/master@{#522117}
Showing
Please register or sign in to comment