Closed Bug 1550515 Opened 5 years ago Closed 5 years ago

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

Categories

(Testing :: Mochitest, defect)

Version 3
defect
Not set
normal

Tracking

(firefox68 fixed)

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: bzbarsky, Assigned: ahal)

Details

Attachments

(1 file)

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: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: