Closed Bug 1872171 Opened 1 year ago Closed 1 year ago

Add `--restartAfterFailure` mode to mochitest

Categories

(Testing :: General, task)

task

Tracking

(firefox123 fixed)

RESOLVED FIXED
123 Branch
Tracking Status
firefox123 --- fixed

People

(Reporter: jmaher, Assigned: jmaher)

Details

Attachments

(1 file)

this will allow us to restart the browser and pick up where we left off. Overall this will allow us to find ALL relevant failures in a run instead of the first failure and treating the subsequent failures as secondary.

The primary application for this is greening up tests; but this could become a default mode if we determine it is stable, doesn't take too much time, and we have tooling and processes to handle >1 failure per task.

Currently this will not work on Android- that has a different output handler (here)

Assignee: nobody → jmaher
Status: NEW → ASSIGNED
Pushed by jmaher@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/39c1f4cb2135 add and support --restartAfterFailure for desktop mochitests. r=ahal
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: