Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Unified Diff: build/android/pylib/perf/perf_control_unittest.py

Issue 336943008: TELEMETRY: Don't always fail test when forcing CPUs fails. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address feedback. Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/pylib/perf/perf_control.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/perf/perf_control_unittest.py
diff --git a/build/android/pylib/perf/perf_control_unittest.py b/build/android/pylib/perf/perf_control_unittest.py
index 7bdc962a48f9cfae289f5f58579369b5ac66a3f8..9333dbce85f9bebe2ff3dd9a9b20384c578518b7 100644
--- a/build/android/pylib/perf/perf_control_unittest.py
+++ b/build/android/pylib/perf/perf_control_unittest.py
@@ -27,7 +27,7 @@ class TestPerfControl(unittest.TestCase):
perf = perf_control.PerfControl(self._device)
try:
perf.SetPerfProfilingMode()
- for cpu in range(perf._NumCpuCores):
+ for cpu in range(perf._num_cpu_cores):
path = perf_control.PerfControl._CPU_ONLINE_FMT % cpu
self.assertEquals('1',
self._device.old_interface.GetFileContents(path)[0])
« no previous file with comments | « build/android/pylib/perf/perf_control.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698