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

Unified Diff: tools/perf/measurements/measurement_unittest.py

Issue 187963002: [Telemetry] Include endure in smoke test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/measurements/measurement_unittest.py
diff --git a/tools/perf/measurements/measurement_unittest.py b/tools/perf/measurements/measurement_unittest.py
index 07ed855fe45259325e4a4d90f39a333bfdf73d6c..28610c3be27e32cb058860ed22eafc0946012142 100644
--- a/tools/perf/measurements/measurement_unittest.py
+++ b/tools/perf/measurements/measurement_unittest.py
@@ -6,7 +6,6 @@ import logging
import os
import unittest
-from measurements import endure
from telemetry import test
from telemetry.core import discover
from telemetry.page import page_measurement
@@ -38,17 +37,15 @@ class MeasurementUnitTest(unittest.TestCase):
# benchmarks are usually long-running benchmarks.
continue
- if benchmark.test == endure.Endure:
- # Endure is too long running for a smoke test.
- continue
-
if hasattr(benchmark, 'generated_profile_archive'):
# We'd like to test these, but don't know how yet.
continue
- # Ensure we only benchmark a single page.
+ # Only measure a single page so that this test cycles reasonably quickly.
benchmark.options['pageset_repeat_iters'] = 1
benchmark.options['page_repeat_iters'] = 1
+ benchmark.options['page_repeat_secs'] = 1
+
class SinglePageBenchmark(benchmark): # pylint: disable=W0232
def CreatePageSet(self, options):
# pylint: disable=E1002
« 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