Open Bug 1141558 Opened 9 years ago Updated 1 year ago

MarionetteTestCase.tearDown() can fail to call CommonTestCase.tearDown() in case of an exception

Categories

(Testing :: Marionette Client and Harness, defect, P5)

defect

Tracking

(Not tracked)

People

(Reporter: whimboo, Unassigned)

References

()

Details

If there is happening an exception in MarionetteTestCase.tearDown() before the line which calls CommonTestCase.tearDown(), we do not perform the tear down logic if the super class. This could cause failures.

The code should get a try/finally block added, so we can ensure to call CommonTestCase.tearDown.
I assume this is still an issue.
Priority: -- → P5
Severity: normal → S3
Product: Testing → Remote Protocol
Component: Marionette → Marionette Client and Harness
Product: Remote Protocol → Testing
You need to log in before you can comment on or make changes to this bug.