[B2G] Gaia: make unused marionette sessions timeout and shutdown

RESOLVED DUPLICATE of bug 805801

Status

Testing
Marionette
RESOLVED DUPLICATE of bug 805801
6 years ago
6 years ago

People

(Reporter: zac, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
If a test fails for some unexpected reason and doesn't teardown properly then sometimes the marionette session on the device will stay open.

In order to run reliable on devices we need these session to self-kill after a period of inactivity so that the device can then be re-used for future tests.

This would also be useful on the emulator where it's tedious and resource heavy to restart a fresh emulator for every test.

A working example to compare to would be the Selenium Grid which will kill a session after x seconds of inactivity.
This is a duplicate of bug 805801. We will need to add in code to the runner to try clean up but marionette can't know the state of the browser until it receives a command and tries to execute it
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 805801
You need to log in before you can comment on or make changes to this bug.