Bug 1604001 - Add the missing process type of the fork server for tests: fix flake8 linting issue. a=lint-fix CLOSED TREE
authorSebastian Hengst <archaeopteryx@coole-files.de>
Thu, 19 Dec 2019 19:52:48 +0100
changeset 507887 8e1b11b00157269f1f781753efc241e005efeaf1
parent 507886 ce2b3465d9037979e7e4251659eef0ef9bafc238
child 507888 55b2e2ac95034a26103da40182649fd6585de9d3
push id36932
push useraciure@mozilla.com
push dateThu, 19 Dec 2019 21:52:02 +0000
treeherdermozilla-central@8e1b11b00157 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslint-fix
bugs1604001
milestone73.0a1
first release with
nightly linux32
8e1b11b00157 / 73.0a1 / 20191219215202 / files
nightly linux64
8e1b11b00157 / 73.0a1 / 20191219215202 / files
nightly mac
8e1b11b00157 / 73.0a1 / 20191219215202 / files
nightly win32
8e1b11b00157 / 73.0a1 / 20191219215202 / files
nightly win64
8e1b11b00157 / 73.0a1 / 20191219215202 / files
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1604001 - Add the missing process type of the fork server for tests: fix flake8 linting issue. a=lint-fix CLOSED TREE
testing/mozbase/mozleak/mozleak/leaklog.py
--- a/testing/mozbase/mozleak/mozleak/leaklog.py
+++ b/testing/mozbase/mozleak/mozleak/leaklog.py
@@ -159,17 +159,27 @@ def process_leak_log(leak_log_file, leak
     log.info("leakcheck | Processing log file %s%s" %
              (leakLogFile, (" for scope %s" % scope) if scope is not None else ""))
 
     leakThresholds = leak_thresholds or {}
     ignoreMissingLeaks = ignore_missing_leaks or []
 
     # This list is based on kGeckoProcessTypeString. ipdlunittest processes likely
     # are not going to produce leak logs we will ever see.
-    knownProcessTypes = ["default", "forkserver", "plugin", "tab", "gmplugin", "gpu", "rdd", "vr", "socket"]
+    knownProcessTypes = [
+                         "default",
+                         "forkserver",
+                         "gmplugin",
+                         "gpu",
+                         "plugin",
+                         "rdd",
+                         "socket",
+                         "tab",
+                         "vr",
+                        ]
 
     for processType in knownProcessTypes:
         log.info("TEST-INFO | leakcheck | %s process: leak threshold set at %d bytes"
                  % (processType, leakThresholds.get(processType, 0)))
 
     for processType in leakThresholds:
         if processType not in knownProcessTypes:
             log.error("TEST-UNEXPECTED-FAIL | leakcheck | "