| Index: systrace/systrace/tracing_agents/agents_unittest.py
|
| diff --git a/systrace/systrace/tracing_agents/agents_unittest.py b/systrace/systrace/tracing_agents/agents_unittest.py
|
| index 591cde5e59663294848ce3af87a871e7390aed73..74498bd3c34ae7cf63142a34c416c76d893e9b21 100644
|
| --- a/systrace/systrace/tracing_agents/agents_unittest.py
|
| +++ b/systrace/systrace/tracing_agents/agents_unittest.py
|
| @@ -22,6 +22,11 @@ class BaseAgentTest(unittest.TestCase):
|
| if curr_browser == None:
|
| self.StartBrowser()
|
|
|
| + def tearDown(self):
|
| + # Stop the browser after each test to ensure that it doesn't interfere
|
| + # with subsequent tests, e.g. by holding the devtools socket open.
|
| + self.device.ForceStop(self.package_info.package)
|
| +
|
| def StartBrowser(self):
|
| # Turn on the device screen.
|
| self.device.SetScreen(True)
|
|
|