Bug 752467 - disable leaky tests. r=zpao
authorDão Gottwald <dao@mozilla.com>
Thu, 10 May 2012 20:09:25 +0200
changeset 93714 0abed8c2714f62ac8bf1395e79ba5eb8ea527250
parent 93713 27aadc2c995130444e99becefc5cd2e7097dbcbc
child 93715 02e465c5b1b86c5afc49ac678799ec8c580b2356
push id22661
push userdgottwald@mozilla.com
push dateThu, 10 May 2012 18:09:38 +0000
treeherdermozilla-central@0abed8c2714f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerszpao
bugs752467
milestone15.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 752467 - disable leaky tests. r=zpao
browser/components/sessionstore/test/Makefile.in
build/automationutils.py
--- a/browser/components/sessionstore/test/Makefile.in
+++ b/browser/components/sessionstore/test/Makefile.in
@@ -42,16 +42,18 @@ srcdir		= @srcdir@
 VPATH		= @srcdir@
 relativesrcdir  = browser/components/sessionstore/test
 
 include $(DEPTH)/config/autoconf.mk
 include $(topsrcdir)/config/rules.mk
 
 # browser_506482.js is disabled because of frequent failures (bug 538672)
 # browser_526613.js is disabled because of frequent failures (bug 534489)
+# browser_589246.js is disabled for leaking browser windows (bug 752467)
+# browser_580512.js is disabled for leaking browser windows (bug 752467)
 
 _BROWSER_TEST_FILES = \
 	head.js \
 	browser_form_restore_events.js \
 	browser_form_restore_events_sample.html \
 	browser_248970_a.js \
 	browser_248970_b.js \
 	browser_248970_b_sample.html \
@@ -116,23 +118,21 @@ include $(topsrcdir)/config/rules.mk
 	browser_500328.js \
 	browser_514751.js \
 	browser_522375.js \
 	browser_522545.js \
 	browser_524745.js \
 	browser_528776.js \
 	browser_579868.js \
 	browser_579879.js \
-	browser_580512.js \
 	browser_581593.js \
 	browser_581937.js \
 	browser_586147.js \
 	browser_586068-cascaded_restore.js \
 	browser_588426.js \
-	browser_589246.js \
 	browser_590268.js \
 	browser_590563.js \
 	browser_595601-restore_hidden.js \
 	browser_597315.js \
 	browser_597315_index.html \
 	browser_597315_a.html \
 	browser_597315_b.html \
 	browser_597315_c.html \
--- 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 = 21
+  MAX_LEAK_COUNT = 11
 
   def __init__(self, logger):
     self.logger = logger
     self.tests = []
     self.leakedWindows = {}
     self.leakedDocShells = set()
     self.currentTest = None
     self.seenShutdown = False