Bug 749361 - reduce MAX_LEAK_COUNT to match the status quo. r=ttaubert
authorDão Gottwald <dao@mozilla.com>
Fri, 27 Apr 2012 03:45:49 +0200
changeset 92492 3e1e3e341477
parent 92491 dae9534421a6
child 92493 4fb99493356a
push id22539
push userdgottwald@mozilla.com
push date2012-04-27 01:46 +0000
treeherdermozilla-central@3e1e3e341477 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersttaubert
bugs749361
milestone15.0a1
Bug 749361 - reduce MAX_LEAK_COUNT to match the status quo. r=ttaubert
build/automationutils.py
--- a/build/automationutils.py
+++ b/build/automationutils.py
@@ -454,17 +454,17 @@ def wrapCommand(cmd):
   return cmd
 
 class ShutdownLeakLogger(object):
   """
   Parses the mochitest run log when running a debug build, assigns all leaked
   DOM windows (that are still around after test suite shutdown, despite running
   the GC) to the tests that created them and prints leak statistics.
   """
-  MAX_LEAK_COUNT = 121
+  MAX_LEAK_COUNT = 23
 
   def __init__(self, logger):
     self.logger = logger
     self.tests = []
     self.leakedWindows = {}
     self.leakedDocShells = set()
     self.currentTest = None
     self.seenShutdown = False