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

Unified Diff: tools/perf/core/perf_data_generator_unittest.py

Issue 2854413002: Remove usage of bot_utils.GetDeviceAffinity in perf_data_generator (Closed)
Patch Set: Fix testGenerateTelemetryTestsBlacklistedReferenceBuildTest Created 3 years, 8 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 | « tools/perf/core/perf_data_generator.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/core/perf_data_generator_unittest.py
diff --git a/tools/perf/core/perf_data_generator_unittest.py b/tools/perf/core/perf_data_generator_unittest.py
index 99cc96d51f5e88483351c1901fe4249f746948e4..7bc8e0b38dd988734b86ee2cc0c50768d314e843 100644
--- a/tools/perf/core/perf_data_generator_unittest.py
+++ b/tools/perf/core/perf_data_generator_unittest.py
@@ -134,9 +134,10 @@ class PerfDataGeneratorTest(unittest.TestCase):
'platform': 'android',
'swarming_dimensions': swarming_dimensions,
}
+ sharding_map = {'1': {'blacklisted': 0, 'not_blacklisted': 0}}
benchmarks = [BlacklistedBenchmark, NotBlacklistedBenchmark]
tests = perf_data_generator.generate_telemetry_tests(
- test_config, benchmarks, None, ['blacklisted'])
+ test_config, benchmarks, sharding_map, ['blacklisted'])
generated_test_names = set(t['name'] for t in tests)
self.assertEquals(
« no previous file with comments | « tools/perf/core/perf_data_generator.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698