Bug 1299871 - Increase leak threshold on OS X to paper over increased layers leak. r=erahm, a=test-only
authorAndrew McCreight <continuation@gmail.com>
Thu, 01 Sep 2016 11:04:09 -0700
changeset 342579 b630283d19e09693fa54baeb56374f646327904b
parent 342578 c79d309bb50a55e8d7662a81acdf727117dd4305
child 342580 c23d2d8726f38bb46de86c60e6df3c92e69ee41d
push id1183
push userraliiev@mozilla.com
push dateMon, 05 Sep 2016 20:01:49 +0000
treeherdermozilla-release@3148731bed45 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerserahm, test-only
bugs1299871
milestone49.0
Bug 1299871 - Increase leak threshold on OS X to paper over increased layers leak. r=erahm, a=test-only MozReview-Commit-ID: 2QQa5uxmO5J
testing/mochitest/mochitest_options.py
--- a/testing/mochitest/mochitest_options.py
+++ b/testing/mochitest/mochitest_options.py
@@ -798,16 +798,21 @@ class MochitestArguments(ArgumentContain
 
         options.leakThresholds = {
             "default": options.defaultLeakThreshold,
             "tab": 10000,  # See dependencies of bug 1051230.
             # GMP rarely gets a log, but when it does, it leaks a little.
             "geckomediaplugin": 20000,
         }
 
+        # Bug 1293324 - OSX 10.10 sometimes leaks a little more
+        # graphics layers stuff in the content process.
+        if mozinfo.isMac:
+            options.leakThresholds["tab"] = 12000
+
         # XXX We can't normalize test_paths in the non build_obj case here,
         # because testRoot depends on the flavor, which is determined by the
         # mach command and therefore not finalized yet. Conversely, test paths
         # need to be normalized here for the mach case.
         if options.test_paths and build_obj:
             # Normalize test paths so they are relative to test root
             options.test_paths = [build_obj._wrap_path_argument(p).relpath()
                                   for p in options.test_paths]