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

Side by Side Diff: tools/perf/benchmarks/system_health_smoke_test.py

Issue 2552153004: Re-enable browse:social:twitter smoke test (Closed)
Patch Set: Created 4 years 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Run all system health stories used by system health benchmarks. 5 """Run all system health stories used by system health benchmarks.
6 6
7 Only memory benchmarks are used when running these stories to make the total 7 Only memory benchmarks are used when running these stories to make the total
8 cycle time manageable. Other system health benchmarks should be using the same 8 cycle time manageable. Other system health benchmarks should be using the same
9 stories as memory ones, only with fewer actions (no memory dumping). 9 stories as memory ones, only with fewer actions (no memory dumping).
10 """ 10 """
(...skipping 14 matching lines...) Expand all
25 25
26 def GetSystemHealthBenchmarksToSmokeTest(): 26 def GetSystemHealthBenchmarksToSmokeTest():
27 sh_benchmark_classes = discover.DiscoverClassesInModule( 27 sh_benchmark_classes = discover.DiscoverClassesInModule(
28 system_health, perf_benchmark.PerfBenchmark, 28 system_health, perf_benchmark.PerfBenchmark,
29 index_by_class_name=True).values() 29 index_by_class_name=True).values()
30 return list(b for b in sh_benchmark_classes if 30 return list(b for b in sh_benchmark_classes if
31 b.Name().startswith('system_health.memory')) 31 b.Name().startswith('system_health.memory'))
32 32
33 33
34 _DISABLED_TESTS = frozenset({ 34 _DISABLED_TESTS = frozenset({
35 # crbug.com/662003
36 'benchmarks.system_health_smoke_test.SystemHealthBenchmarkSmokeTest.system_hea lth.memory_desktop.browse:social:twitter', # pylint: disable=line-too-long
37 # crbug.com/662021 35 # crbug.com/662021
38 'benchmarks.system_health_smoke_test.SystemHealthBenchmarkSmokeTest.system_hea lth.memory_desktop.browse:news:flipboard', # pylint: disable=line-too-long 36 'benchmarks.system_health_smoke_test.SystemHealthBenchmarkSmokeTest.system_hea lth.memory_desktop.browse:news:flipboard', # pylint: disable=line-too-long
39 # crbug.com/629123 37 # crbug.com/629123
40 'benchmarks.system_health_smoke_test.SystemHealthBenchmarkSmokeTest.system_hea lth.memory_mobile.browse:news:hackernews', # pylint: disable=line-too-long 38 'benchmarks.system_health_smoke_test.SystemHealthBenchmarkSmokeTest.system_hea lth.memory_mobile.browse:news:hackernews', # pylint: disable=line-too-long
41 'benchmarks.system_health_smoke_test.SystemHealthBenchmarkSmokeTest.system_hea lth.memory_mobile.browse:news:nytimes', # pylint: disable=line-too-long 39 'benchmarks.system_health_smoke_test.SystemHealthBenchmarkSmokeTest.system_hea lth.memory_mobile.browse:news:nytimes', # pylint: disable=line-too-long
42 # crbug.com/637230 40 # crbug.com/637230
43 'benchmarks.system_health_smoke_test.SystemHealthBenchmarkSmokeTest.system_hea lth.memory_desktop.browse:news:cnn', # pylint: disable=line-too-long 41 'benchmarks.system_health_smoke_test.SystemHealthBenchmarkSmokeTest.system_hea lth.memory_desktop.browse:news:cnn', # pylint: disable=line-too-long
44 # crbug.com/666293 42 # crbug.com/666293
45 'benchmarks.system_health_smoke_test.SystemHealthBenchmarkSmokeTest.system_hea lth.memory_mobile.browse:media:youtube', # pylint: disable=line-too-long 43 'benchmarks.system_health_smoke_test.SystemHealthBenchmarkSmokeTest.system_hea lth.memory_mobile.browse:media:youtube', # pylint: disable=line-too-long
46 # Permenently disabled from smoke test for being long-running. 44 # Permenently disabled from smoke test for being long-running.
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 # parsed during test time which happens after load_tests are called. 141 # parsed during test time which happens after load_tests are called.
144 # Since none of our system health benchmarks creates stories based on 142 # Since none of our system health benchmarks creates stories based on
145 # command line options, it should be ok to pass options=None to 143 # command line options, it should be ok to pass options=None to
146 # CreateStorySet. 144 # CreateStorySet.
147 for story_to_smoke_test in ( 145 for story_to_smoke_test in (
148 benchmark_class().CreateStorySet(options=None).stories): 146 benchmark_class().CreateStorySet(options=None).stories):
149 suite.addTest( 147 suite.addTest(
150 _GenerateSmokeTestCase(benchmark_class, story_to_smoke_test)) 148 _GenerateSmokeTestCase(benchmark_class, story_to_smoke_test))
151 149
152 return suite 150 return suite
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698