Running a single mochitest in headless mode should not default to --keep-open=true

RESOLVED FIXED in Firefox 68

Status

defect
RESOLVED FIXED
2 months ago
2 months ago

People

(Reporter: bzbarsky, Assigned: ahal)

Tracking

Version 3
mozilla68
Points:
---

Firefox Tracking Flags

(firefox68 fixed)

Details

Attachments

(1 attachment)

STEPS TO REPRODUCE:

  1. Run something like mach mochitest --headless dom/push/test/test_data.html
  2. Wait for the test to finish.

ACTUAL RESULTS: Test gets to TEST_END but process does not terminate.

EXPECTED RESULTS: Process terminates.

ADDITIONAL INFORMATION: The "--keep-open=true" default for running a single mochitest is to allow a "modify and reload" test development workflow. But running headless doesn't allow that workflow anyway, so the --keep-open bit should not get applied in this situation.

Assignee: nobody → ahal
Status: NEW → ASSIGNED
Pushed by ahalberstadt@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2c96c7bf4e62
[mochitest] Don't 'keep_open' a single mochitest when using --headless, r=gbrown
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.