Bug 1098121 - Disable xpcshell selftest for timeouts due to intermittent timeouts. r=ted
authorChris Manchester <cmanchester@mozilla.com>
Thu, 13 Nov 2014 12:15:41 -0500
changeset 217057 6ace2f2d908534f5f974d7c2d60f320de32a8f75
parent 217056 528869f666ffb47d53ae59f8fd6936e9a59362e0
child 217058 3aca2904c54a07bddaf934e04ddc29b34ee72a50
push id52218
push usercbook@mozilla.com
push dateMon, 24 Nov 2014 08:44:31 +0000
treeherdermozilla-inbound@3aca2904c54a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs1098121
milestone36.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 1098121 - Disable xpcshell selftest for timeouts due to intermittent timeouts. r=ted
testing/xpcshell/selftest.py
--- a/testing/xpcshell/selftest.py
+++ b/testing/xpcshell/selftest.py
@@ -503,16 +503,18 @@ tail =
         """
         Check that passing unicode characters through an assertion method works.
         """
         self.writeFile("test_unicode_assert.js", PASSING_TEST_UNICODE)
         self.writeManifest(["test_unicode_assert.js"])
 
         self.assertTestResult(True, verbose=True)
 
+    @unittest.skipIf('MOZ_AUTOMATION' in os.environ,
+                     'Timeout code path occasionally times out (bug 1098121)')
     def testHangingTimeout(self):
         """
         Check that a test that never finishes results in the correct error log.
         """
         self.writeFile("test_loop.js", SIMPLE_LOOPING_TEST)
         self.writeManifest(["test_loop.js"])
 
         old_timeout = self.x.harness_timeout
@@ -884,9 +886,9 @@ tail =
         self.writeFile("test_asyncCleanup.js", ASYNC_CLEANUP)
         self.writeManifest(["test_asyncCleanup.js"])
         self.assertTestResult(False)
         self.assertInLog("\"1234\" == \"1234\"")
         self.assertInLog("At this stage, the test has succeeded")
         self.assertInLog("Throwing an error to force displaying the log")
 
 if __name__ == "__main__":
-    unittest.main()
+    unittest.main(verbosity=3)