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

Unified Diff: telemetry/telemetry/core/tracing_controller_unittest.py

Issue 2236493003: [catapult android trybot] Make Telemetry tests run on Android (Closed) Base URL: git@github.com:catapult-project/catapult.git@master
Patch Set: Add stack traces and more logging Created 4 years 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: telemetry/telemetry/core/tracing_controller_unittest.py
diff --git a/telemetry/telemetry/core/tracing_controller_unittest.py b/telemetry/telemetry/core/tracing_controller_unittest.py
index 1c4a6d0aa2235c8a2345b47b42ee4a3f7046a784..1b6c21bf9381d53b66783ba248f5a6d321c5e0d7 100644
--- a/telemetry/telemetry/core/tracing_controller_unittest.py
+++ b/telemetry/telemetry/core/tracing_controller_unittest.py
@@ -16,7 +16,9 @@ from telemetry.timeline import trace_data as trace_data_module
class TracingControllerTest(tab_test_case.TabTestCase):
+ # https://github.com/catapult-project/catapult/issues/3099 (Android)
@decorators.Isolated
+ @decorators.Disabled('android')
def testExceptionRaisedInStopTracing(self):
tracing_controller = self._tab.browser.platform.tracing_controller
config = tracing_config.TracingConfig()
@@ -38,7 +40,9 @@ class TracingControllerTest(tab_test_case.TabTestCase):
self.assertFalse(tracing_controller.is_tracing_running)
+ # https://github.com/catapult-project/catapult/issues/3099 (Android)
@decorators.Isolated
+ @decorators.Disabled('android')
def testGotTrace(self):
tracing_controller = self._browser.platform.tracing_controller
config = tracing_config.TracingConfig()
@@ -50,7 +54,9 @@ class TracingControllerTest(tab_test_case.TabTestCase):
model = model_module.TimelineModel(trace_data)
assert len(model.processes) > 0
+ # https://github.com/catapult-project/catapult/issues/3099 (Android)
@decorators.Isolated
+ @decorators.Disabled('android')
def testStartAndStopTraceMultipleTimes(self):
tracing_controller = self._browser.platform.tracing_controller
config = tracing_config.TracingConfig()
@@ -65,7 +71,9 @@ class TracingControllerTest(tab_test_case.TabTestCase):
# Calling stop again will raise exception
self.assertRaises(Exception, tracing_controller.StopTracing)
+ # https://github.com/catapult-project/catapult/issues/3099 (Android)
@decorators.Isolated
+ @decorators.Disabled('android')
def testFlushTracing(self):
SUBTRACE_COUNT = 5
@@ -152,7 +160,8 @@ class TracingControllerTest(tab_test_case.TabTestCase):
self._browser.Close()
self._browser = None
- @decorators.Enabled('android')
+ # https://github.com/catapult-project/catapult/issues/3099 (Android)
+ @decorators.Disabled('all')
@decorators.Isolated
def testStartupTracingOnAndroid(self):
self._StartupTracing(self._browser.platform)
« no previous file with comments | « telemetry/telemetry/core/platform_unittest.py ('k') | telemetry/telemetry/internal/actions/action_runner_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698