Running a single xpcshell-test locally which has failures causes it to be run twice.
Categories
(Testing :: XPCShell Harness, defect, P2)
Tracking
(firefox-esr91 unaffected, firefox-esr102 unaffected, firefox104 unaffected, firefox105 wontfix, firefox106 fixed)
Tracking | Status | |
---|---|---|
firefox-esr91 | --- | unaffected |
firefox-esr102 | --- | unaffected |
firefox104 | --- | unaffected |
firefox105 | --- | wontfix |
firefox106 | --- | fixed |
People
(Reporter: standard8, Assigned: jmaher)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
If I change an xpcshell-test to make it fail, and then run it as a single test, it will run twice.
e.g. using this command:
./mach xpcshell-test toolkit/components/search/tests/xpcshell/test_engine_selector.js
Runs the test twice when it fails.
This has two issues. Firstly, you get a duplicated test failures summary, and duplicated logs. I find the test failures summary especially confusing, because "why is my test code being run twice?".
Secondly, when running with --jsdebugger
you do your debugging, and let the debugger exit. At which point the test restarts (puzzled: "why did it do that?"), and you manually have to ctrl-c it to stop it.
Maybe we could alter the change that bug 1781782 to make it so that it only re-runs single tests on automation?
Updated•3 years ago
|
Comment 1•3 years ago
|
||
Set release status flags based on info from the regressing bug 1781782
:jmaher, since you are the author of the regressor, bug 1781782, could you take a look? Also, could you set the severity field?
For more information, please visit auto_nag documentation.
Assignee | ||
Comment 2•3 years ago
|
||
I think that is reasonable- thanks for filing this bug
Assignee | ||
Comment 3•3 years ago
|
||
Updated•3 years ago
|
Comment 5•3 years ago
|
||
bugherder |
Reporter | ||
Comment 6•3 years ago
|
||
Thank you.
Updated•3 years ago
|
Description
•