Bug 1526914 - Skip Mn test_execute_new_sandbox on Android; r=me,a=test-only
authorGeoff Brown <gbrown@mozilla.com>
Tue, 12 Feb 2019 09:24:16 -0700
changeset 458714 b1e2b327f134
parent 458713 78b4a9446213
child 458715 c7fdf51b2b74
push id35546
push userrmaries@mozilla.com
push dateWed, 13 Feb 2019 04:27:59 +0000
treeherdermozilla-central@636d2c00234d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme, test-only
bugs1526914
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1526914 - Skip Mn test_execute_new_sandbox on Android; r=me,a=test-only
testing/marionette/harness/marionette_harness/tests/unit/test_execute_sandboxes.py
--- a/testing/marionette/harness/marionette_harness/tests/unit/test_execute_sandboxes.py
+++ b/testing/marionette/harness/marionette_harness/tests/unit/test_execute_sandboxes.py
@@ -1,17 +1,17 @@
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 from __future__ import absolute_import
 
 from marionette_driver.errors import JavascriptException
 
-from marionette_harness import MarionetteTestCase
+from marionette_harness import MarionetteTestCase, skip_if_mobile
 
 
 class TestExecuteSandboxes(MarionetteTestCase):
     def setUp(self):
         super(TestExecuteSandboxes, self).setUp()
 
     def test_execute_system_sandbox(self):
         # Test that "system" sandbox has elevated privileges in execute_script
@@ -36,16 +36,17 @@ class TestExecuteSandboxes(MarionetteTes
         self.marionette.execute_script("foo = 2", sandbox="2")
         foo = self.marionette.execute_script(
             "return foo", sandbox="1", new_sandbox=False)
         self.assertEqual(foo, 1)
         foo = self.marionette.execute_script(
             "return foo", sandbox="2", new_sandbox=False)
         self.assertEqual(foo, 2)
 
+    @skip_if_mobile("Intermittent on Android - bug 1526914")
     def test_execute_new_sandbox(self):
         # test that clearing a sandbox does not affect other sandboxes
         self.marionette.execute_script("foo = 1", sandbox="1")
         self.marionette.execute_script("foo = 2", sandbox="2")
 
         # deprecate sandbox 1 by asking explicitly for a fresh one
         with self.assertRaises(JavascriptException):
             self.marionette.execute_script("return foo",