[base] Reduce TaskEnvironment default Run() timeout.
Reduce the default Run() timeout set by TaskEnvironment from TestTimeouts::action_max_timeout() to action_timeout(). This typically reduces the timeout from 30s (45s in Debug) down to 10s. Sheriffs! This may result in: - Failures on slow builds, which are not on CQ. Please consider adding an #ifdef to restore those builds to action_max_timeout(), rather than simply reverting. - Flakiness in tests which are too close to the new timeout. Please consider whether such tests should really be taking so long, and whether they can be fixed-forward with a ScopedRunTimeoutForTest rather than reverting (see ThroughputAnalyzerTest in this CL). Bug: 922098 Change-Id: Icd75af79f6d9d3555c91b33ea2566fe7c56cd2f7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1548382 Commit-Queue: Wez <wez@chromium.org> Reviewed-by:Gabriel Charette <gab@chromium.org> Reviewed-by:
Maks Orlovich <morlovich@chromium.org> Auto-Submit: Wez <wez@chromium.org> Cr-Commit-Position: refs/heads/master@{#695252}
Showing
Please register or sign in to comment