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

Unified Diff: tools/telemetry/telemetry/page/test_expectations.py

Issue 23483022: Added a "Skip" expectation to allow test runs to avoid known timeouts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 4 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/telemetry/telemetry/page/page_runner.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/page/test_expectations.py
diff --git a/tools/telemetry/telemetry/page/test_expectations.py b/tools/telemetry/telemetry/page/test_expectations.py
index cd9244d1347ab7b3c0b71e614024f753c4580719..bd99e717c492e0567f36bd63484d45b7f860b2cb 100644
--- a/tools/telemetry/telemetry/page/test_expectations.py
+++ b/tools/telemetry/telemetry/page/test_expectations.py
@@ -56,6 +56,9 @@ class TestExpectations(object):
def Fail(self, url_pattern, conditions=None, bug=None):
self._Expect('fail', url_pattern, conditions, bug)
+ def Skip(self, url_pattern, conditions=None, bug=None):
+ self._Expect('skip', url_pattern, conditions, bug)
+
def _Expect(self, expectation, url_pattern, conditions=None, bug=None):
self.expectations.append(Expectation(expectation, url_pattern, conditions,
bug))
« no previous file with comments | « tools/telemetry/telemetry/page/page_runner.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698