Lower the initial threshold for a 'cool' machine
This should reduce instances of throttling in some tests such
as graphics_WebGLAquarium on platforms that throttle more aggressively
than others.
BUG=chromium:948958
TEST=ran graphics_WebGLAquarium
Change-Id: Iae3d4b1626d1d5a133529f3398af0ad5c0b66e15
Reviewed-on: https://chromium-review.googlesource.com/1592317
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Drew Davenport <ddavenport@chromium.org>
Tested-by: Ilja H. Friedel <ihf@chromium.org>
Reviewed-by: Ilja H. Friedel <ihf@chromium.org>
diff --git a/client/bin/utils.py b/client/bin/utils.py
index 6f2deb7..e997c7c 100644
--- a/client/bin/utils.py
+++ b/client/bin/utils.py
@@ -1735,7 +1735,7 @@
temperature = get_current_temperature_max()
# We got here with a cold machine, return immediately. This should be the
# most common case.
- if temperature < 50:
+ if temperature < 45:
return True
logging.info('Got a hot machine of %dC. Sleeping 1 minute.', temperature)
# A modest wait should cool the machine.