mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00:00
df880b0cd1
The issue here is that the sort order of 2 or more elements with the same key is indeterminate: One run (say, one test chunk) may order them one way and another run (another test chunk) may order them another. The chunk_by_manifest() filter relies on sort order in two places, in both cases using list length as the key for sorting; as equal list lengths are not uncommon, multiple runs can assign very different lists of tests to the chunks, even though all the inputs are the same. Extending keys with unique data provides a simple fix. I tried this before using the entire test dict as the second part of the sort key; admittedly problematic. This version uses the test 'manifest', which is already used earlier in the same function and should be unique. Differential Revision: https://phabricator.services.mozilla.com/D79900 |
||
---|---|---|
.. | ||
docs | ||
manifestparser | ||
mozcrash | ||
mozdebug | ||
mozdevice | ||
mozfile | ||
mozgeckoprofiler | ||
mozhttpd | ||
mozinfo | ||
mozinstall | ||
mozleak | ||
mozlog | ||
moznetwork | ||
mozpower | ||
mozprocess | ||
mozprofile | ||
mozproxy | ||
mozrunner | ||
mozscreenshot | ||
mozsystemmonitor | ||
moztest | ||
mozversion | ||
rust | ||
moz.build | ||
packages.txt | ||
README.md | ||
setup_development.py | ||
versioninfo.py |
Mozbase
Mozbase is a set of easy-to-use Python packages forming a supplemental standard library for Mozilla. It provides consistency and reduces redundancy in automation and other system-level software. All of Mozilla's test harnesses use mozbase to some degree, including Talos, mochitest, and reftest.
Learn more about mozbase at the project page.
Read detailed docs online, or build them locally by running "make html" in the docs directory.