| Index: tools/perf/benchmarks/benchmark_unittest.py
|
| diff --git a/tools/perf/benchmarks/benchmark_unittest.py b/tools/perf/benchmarks/benchmark_unittest.py
|
| index 38c957cef2e0bb9979f78416531bcd841bdac02a..d5aff221ef9a04e88cd5230a2bc196e23d9628de 100644
|
| --- a/tools/perf/benchmarks/benchmark_unittest.py
|
| +++ b/tools/perf/benchmarks/benchmark_unittest.py
|
| @@ -35,7 +35,11 @@ def SmokeTestGenerator(benchmark):
|
| def CreatePageSet(self, options):
|
| # pylint: disable=E1002
|
| ps = super(SinglePageBenchmark, self).CreatePageSet(options)
|
| - ps.pages = ps.pages[:1]
|
| + for p in ps.pages:
|
| + if not p.disabled:
|
| + p.skip_waits = True
|
| + ps.pages = [p]
|
| + break
|
| return ps
|
|
|
| # Set the benchmark's default arguments.
|
|
|