Closed Bug 808004 Opened 12 years ago Closed 11 years ago

B2G automation should explicitly delete its reference to the marionette object

Categories

(Testing :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: ahal, Unassigned)

Details

I noticed often the b2gautomation instance would take awhile to be garbage collected. When running emulator tests in chunks a new emulator is spawned for each chunk. However because the marionette instance is still hanging around, the emulator from the previous chunk hadn't been shutdown yet and the automation falls over. I got around it by adding:
del self._automation._marionette
del self._automation

to the reftest cleanup method.

This won't affect anything in C-I since jobs are run on different machines, but it should still be addressed at some point.
This got fixed as part of another patch at some point.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.