gecko-dev/testing
Michael Comella 78ac0c9d28 Bug 1772416 - sleep in measure_associated_with_navigation_timing. r=sefeng
The root cause of the intermittent failure is that the test records one set of
PerformanceMarks, records another, and verifies the duration of the measures of
the second set are larger than the first set but they're unexpectedly equal.

I speculate this happens because either the test executes fast enough that the
clock doesn't increment or our precision reduction code (to mitigate against
timing attacks) is rounding the before/after values to the same value.

This solution is speculative because I was unable to reproduce the error
locally so need to test it on WPT CI. The solution may fail intermittently if we
don't sleep for long enough.

A more correct solution to this problem would be to mock the clock and
programmatically advance it but I didn't want to take the time. Another possible
solution, that is stable, is to change the assertions to `test_greater_or_equal`
but this could hide legitimate bugs, e.g. we accidentally return the same
PerformanceMeasure for both queries.

Differential Revision: https://phabricator.services.mozilla.com/D155420
2022-08-24 16:59:28 +00:00
..
awsy
condprofile Bug 1780132 - catch common exception from the condprof scenario. r=sparky 2022-08-12 12:13:44 +00:00
config
crashtest
docs Bug 1776589 - add add_setup to mochitest-plain r=ahal 2022-08-04 19:09:07 +00:00
extensions
firefox-ui
fxrecord/perfdocs
geckodriver
gtest
jsshell
marionette Bug 1769994 - [remote] Resolve localhost to an IP before starting httpd.js. r=webdriver-reviewers,jdescottes 2022-08-19 18:48:49 +00:00
mochitest Bug 1759604, check CanDropLink during the drop event as sites can cancel the dragover event causing the drop event to still fire, r=arai 2022-08-19 22:15:50 +00:00
modules Bug 1782008 - Remove now unnecessary .eslintrc.js files. r=webcompat-reviewers,extension-reviewers,media-playback-reviewers,pip-reviewers,denschub,rpl,alwu,mossop 2022-08-03 11:16:20 +00:00
mozbase Bug 1769791, part 1 - Remove support for setting permissions in mozprofile. r=jmaher 2022-08-18 22:14:53 +00:00
mozharness Bug 1780573 - tell pip list not to phone home. r=gbrown DONTBUILD 2022-08-22 16:57:56 +00:00
perfdocs Bug 1784349 - Don't use -moz-bool-pref for flexbox -moz-box emulation. r=dholbert,perftest-reviewers,sparky 2022-08-11 23:22:52 +00:00
performance Bug 1782184 - Move first load prompts handling code under interactive tests r=perftest-reviewers,kshampur 2022-08-09 14:55:55 +00:00
profiles Bug 1786210: Remove mentions of unused pref gfx.font_loader.interval. r=emilio 2022-08-21 23:45:56 +00:00
raptor Bug 1768558 Run new "Fenix-Fission" and "GeckoView-Fission" perf tests on AWFY r=perftest-reviewers,sparky,jmaher 2022-08-11 13:13:10 +00:00
runtimes
specialpowers
talos Bug 1784243 - Change the talos marker categories to Test r=florian,perftest-reviewers,sparky 2022-08-12 19:23:05 +00:00
tools
tps
web-platform Bug 1772416 - sleep in measure_associated_with_navigation_timing. r=sefeng 2022-08-24 16:59:28 +00:00
webcompat
webdriver Backed out changeset 0d0c8aa6e1d0 (bug 1746601) for causing wpt failures on iframe-chains.html. CLOSED TREE 2022-08-04 19:24:20 +03:00
xpcshell Bug 1785308 - Use the Popen cleanup workaround in more places in runxpcshelltests.py. r=jmaher 2022-08-18 13:42:30 +00:00
README.txt
addtest.py
cppunittest.ini
mach_commands.py Bug 1785321 - fix edge case in ./mach test-info failure-report. r=aryx 2022-08-17 21:21:26 +00:00
moz.build
parse_build_tests_ccov.py
remotecppunittests.py
runcppunittests.py
testinfo.py
testsuite-targets.mk

README.txt

Common testing tools for mozilla codebase projects, test suite definitions
for automated test runs, tests that don't fit anywhere else, and other fun
stuff