gecko-dev/testing/mozharness/test
Nikki Sharpley 4c76a56119 Bug 1554818 - [mozlog] Update StatusHandler to support known_intermittent field r=jgraham
This patch adds a `known_intermittent_statuses` attribute to the `StatusHandler`
class, allowing it to keep a count of expected intermittents for future use.
Additionally, known intermittents are not recorded as `unexpected_statuses` but
are recorded as `expected_statuses`.

testing/mozharness/mozharness/mozilla/structuredlog.py is directly affected by
this change and has been updated to also reflect `known_intermittent_statuses`.
However, it may require a test to be written to check this addition.

The `StatusHandler` test has been added to, ensuring this patch works as expected.

Differential Revision: https://phabricator.services.mozilla.com/D33086

--HG--
extra : moz-landing-system : lando
2019-06-11 14:09:40 +00:00
..
helper_files
README
hgrc
pip-freeze.example.txt
test_base_config.py
test_base_diskutils.py
test_base_log.py
test_base_parallel.py
test_base_python.py
test_base_script.py
test_base_vcs_mercurial.py
test_l10n_locales.py
test_mozilla_automation.py
test_mozilla_building_buildbase.py
test_mozilla_merkle.py
test_mozilla_structured.py

README

test/           : non-network-dependent unit tests
test/networked/ : network-dependent unit tests.