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

Unified Diff: tools/perf/profile_creators/cookie_profile_extender_unittest.py

Issue 1123843002: Disable failing perf unit tests on chromeos. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 7 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/profile_creators/cookie_profile_extender.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/profile_creators/cookie_profile_extender_unittest.py
diff --git a/tools/perf/profile_creators/cookie_profile_extender_unittest.py b/tools/perf/profile_creators/cookie_profile_extender_unittest.py
index 0dd4d01073452367a34bf3946d93410ebbdb3f7e..a52f9561c2ed21ebc0a2e60a57ecb7284328182a 100644
--- a/tools/perf/profile_creators/cookie_profile_extender_unittest.py
+++ b/tools/perf/profile_creators/cookie_profile_extender_unittest.py
@@ -2,10 +2,16 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import os
-import sqlite3
import tempfile
import unittest
+try:
+ import sqlite3 # Not present on ChromeOS.
+except ImportError:
+ pass
+
+
+from telemetry import decorators
from profile_creators.cookie_profile_extender import CookieProfileExtender
@@ -27,6 +33,7 @@ class CookieProfileExtenderTest(unittest.TestCase):
connection.commit()
connection.close()
+ @decorators.Disabled('chromeos') # crbug.com/483212
def testCookieCount(self):
# Neither tempfile.TemporaryFile() nor tempfile.NamedTemporaryFile() work
# well here. The former doesn't work at all, since it doesn't gaurantee a
« no previous file with comments | « tools/perf/profile_creators/cookie_profile_extender.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698