Sequential runs of mach gradle unit tests should report the same output
Categories
(Fenix :: Tooling, defect)
Tracking
(Not tracked)
People
(Reporter: gerard-majax, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
While investigating bug 1936262, I finally found the correct invocation to see the warnings: ./mach gradle lib-crash:testDebugUnitTest --tests mozilla.components.lib.crash.CrashReporterTest
.
Unfortunately, running that twice in a row result in the second run not showing any warning. It looks like touching / changing the test file and re-running is enough to get results again, as if it was cached somehow.
Reporter | ||
Comment 1•3 months ago
|
||
Reporter | ||
Comment 2•3 months ago
|
||
Comment 3•2 months ago
|
||
The severity field is not set for this bug.
:007, could you have a look please?
For more information, please visit BugBot documentation.
Updated•2 months ago
|
Updated•26 days ago
|
Comment 4•7 days ago
|
||
gradle
seems to cache results and not re-run the previous task. I noticed something similar in bug 1950158.
Does adding --rerun
address your issue? It is documented at https://docs.gradle.org/current/userguide/command_line_interface.html#sec:builtin_task_options
Description
•