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

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

Issue 1115383002: Disable failing telemetry unit tests on chromeos. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: perf2 Created 5 years, 8 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
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..f2b0d29ac33ffc21df68124ab84e65beeab97cea 100644
--- a/tools/perf/profile_creators/cookie_profile_extender_unittest.py
+++ b/tools/perf/profile_creators/cookie_profile_extender_unittest.py
@@ -2,10 +2,15 @@
# 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
+except ImportError:
+ sqlite3 = None
cylee1 2015/05/04 11:16:59 How does it different from just "pass" since nobod
achuithb 2015/05/04 19:48:00 Done. This test is running on the device, and sql
+
+from telemetry import decorators
from profile_creators.cookie_profile_extender import CookieProfileExtender
@@ -27,6 +32,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

Powered by Google App Engine
This is Rietveld 408576698