Commit bd05f75d authored by dtu's avatar dtu Committed by Commit bot

[telemetry] Disable IPPET on Windows 7.

It's flaky on Windows 7, but appears to be okay on Windows 8.

BUG=336558
TEST=None.
TBR=tonyg

Review URL: https://codereview.chromium.org/510263002

Cr-Commit-Position: refs/heads/master@{#292339}
parent 599e3512
......@@ -76,10 +76,12 @@ class IppetPowerMonitor(power_monitor.PowerMonitor):
if not win32event:
return False
windows_7_or_later = (
# TODO(dtu): This should work on Windows 7, but it's flaky on the bots.
# http://crbug.com/336558
windows_8_or_later = (
self._backend.GetOSName() == 'win' and
self._backend.GetOSVersionName() >= platform_backend.WIN7)
if not windows_7_or_later:
self._backend.GetOSVersionName() >= platform_backend.WIN8)
if not windows_8_or_later:
return False
# This check works on Windows only.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment