From 2fa8eee7f05b7feed07d647e010964dd2c68839e Mon Sep 17 00:00:00 2001 From: Andrew McCreight Date: Mon, 21 Jan 2019 10:23:27 +0000 Subject: [PATCH] Bug 1518115 - Fix typo in intentional crash leak log processing. r=jgraham Differential Revision: https://phabricator.services.mozilla.com/D17007 --HG-- extra : moz-landing-system : lando --- testing/mozbase/mozlog/mozlog/formatters/machformatter.py | 2 +- testing/mozbase/mozlog/mozlog/formatters/tbplformatter.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/mozbase/mozlog/mozlog/formatters/machformatter.py b/testing/mozbase/mozlog/mozlog/formatters/machformatter.py index e555311bd9ae..ae8decb949f6 100644 --- a/testing/mozbase/mozlog/mozlog/formatters/machformatter.py +++ b/testing/mozbase/mozlog/mozlog/formatters/machformatter.py @@ -265,7 +265,7 @@ class MachFormatter(base.BaseFormatter): def mozleak_total(self, data): if data["bytes"] is None: # We didn't see a line with name 'TOTAL' - if data.get("induced_crashed", False): + if data.get("induced_crash", False): data_log = data.copy() data_log["level"] = "INFO" data_log["message"] = ("leakcheck: %s deliberate crash and thus no leak log\n" diff --git a/testing/mozbase/mozlog/mozlog/formatters/tbplformatter.py b/testing/mozbase/mozlog/mozlog/formatters/tbplformatter.py index 6cdd368b87b0..0844b5cd153f 100644 --- a/testing/mozbase/mozlog/mozlog/formatters/tbplformatter.py +++ b/testing/mozbase/mozlog/mozlog/formatters/tbplformatter.py @@ -304,7 +304,7 @@ class TbplFormatter(BaseFormatter): def mozleak_total(self, data): if data["bytes"] is None: # We didn't see a line with name 'TOTAL' - if data.get("induced_crashed", False): + if data.get("induced_crash", False): return ("TEST-INFO | leakcheck | %s deliberate crash and thus no leak log\n" % data["process"]) if data.get("ignore_missing", False):