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

Unified Diff: telemetry/telemetry/testing/browser_test_runner_unittest.py

Issue 2720313002: Disable failing tests in browser_test_runner_unittest.py (Closed)
Patch Set: Created 3 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: telemetry/telemetry/testing/browser_test_runner_unittest.py
diff --git a/telemetry/telemetry/testing/browser_test_runner_unittest.py b/telemetry/telemetry/testing/browser_test_runner_unittest.py
index 1ea0472fd8df2f5b3b2d71d1ee2caa0cbaca73d2..d3439bbf1772b6a74ba93237819449f94fdb375e 100644
--- a/telemetry/telemetry/testing/browser_test_runner_unittest.py
+++ b/telemetry/telemetry/testing/browser_test_runner_unittest.py
@@ -9,6 +9,7 @@ import tempfile
import unittest
import json
+from telemetry import decorators
from telemetry import project_config
from telemetry.core import util
from telemetry.testing import browser_test_context
@@ -73,6 +74,7 @@ class BrowserTestRunnerTest(unittest.TestCase):
finally:
os.remove(temp_file_name)
+ @decorators.Disabled('chromeos') # crbug.com/696553
def testJsonOutputFormatNegativeFilter(self):
self.baseTest(
'^(add|multiplier).*',
@@ -83,6 +85,7 @@ class BrowserTestRunnerTest(unittest.TestCase):
'browser_tests.simple_numeric_test.SimpleTest.multiplier_simple',
'browser_tests.simple_numeric_test.SimpleTest.multiplier_simple_3'])
+ @decorators.Disabled('chromeos') # crbug.com/696553
def testJsonOutputWhenSetupClassFailed(self):
self.baseTest(
'.*',
@@ -91,6 +94,7 @@ class BrowserTestRunnerTest(unittest.TestCase):
'browser_tests.failed_tests.SetUpClassFailedTest.dummy_test_2'],
[], test_name='SetUpClassFailedTest')
+ @decorators.Disabled('chromeos') # crbug.com/696553
def testJsonOutputWhenTearDownClassFailed(self):
self.baseTest(
'.*',
@@ -99,6 +103,7 @@ class BrowserTestRunnerTest(unittest.TestCase):
'browser_tests.failed_tests.TearDownClassFailedTest.dummy_test_2'],
[], test_name='TearDownClassFailedTest')
+ @decorators.Disabled('chromeos') # crbug.com/696553
def testSetUpProcessCalledOnce(self):
self.baseTest(
'.*',
@@ -108,6 +113,7 @@ class BrowserTestRunnerTest(unittest.TestCase):
'browser_tests.process_tests.FailIfSetUpProcessCalledTwice.Dummy_2'],
test_name='FailIfSetUpProcessCalledTwice')
+ @decorators.Disabled('chromeos') # crbug.com/696553
def testTearDownProcessCalledOnce(self):
self.baseTest(
'.*',
@@ -117,12 +123,14 @@ class BrowserTestRunnerTest(unittest.TestCase):
'browser_tests.process_tests.FailIfTearDownProcessCalledTwice.Dummy_2'],
test_name='FailIfTearDownProcessCalledTwice')
+ @decorators.Disabled('chromeos') # crbug.com/696553
def testJsonOutputFormatPositiveFilter(self):
self.baseTest(
'(TestSimple|TestException).*',
['browser_tests.simple_numeric_test.SimpleTest.TestException',
'browser_tests.simple_numeric_test.SimpleTest.TestSimple'], [])
+ @decorators.Disabled('chromeos') # crbug.com/696553
def testExecutingTestsInSortedOrder(self):
alphabetical_tests = []
prefix = 'browser_tests.simple_numeric_test.SimpleTest.Alphabetical_'
@@ -210,6 +218,7 @@ class BrowserTestRunnerTest(unittest.TestCase):
finally:
os.remove(temp_file_name)
+ @decorators.Disabled('chromeos') # crbug.com/696553
def testShardedTestRun(self):
self.baseShardingTest(3, 0, [], [
'browser_tests.simple_sharding_test.SimpleShardingTest.Test1',
@@ -273,6 +282,7 @@ class BrowserTestRunnerTest(unittest.TestCase):
json.dump(mock_test_results, f)
return temp_file_name
+ @decorators.Disabled('chromeos') # crbug.com/696553
def testSplittingShardsByTimes(self):
temp_file_name = self.writeMockTestResultsFile()
# It seems that the sorting order of the first four tests above is:
@@ -310,6 +320,7 @@ class BrowserTestRunnerTest(unittest.TestCase):
finally:
os.remove(temp_file_name)
+ @decorators.Disabled('chromeos') # crbug.com/696553
def testFilteringAfterSharding(self):
temp_file_name = self.writeMockTestResultsFile()
try:
« 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