From e71520e019b0d8c107dd0c0afdf1fe1a062985e7 Mon Sep 17 00:00:00 2001 From: Chris Manchester Date: Wed, 24 Jun 2015 10:16:27 -0700 Subject: [PATCH] Bug 1174766 - Modify test_profile_management to use a clean profile to avoid contention on windows.;r=ato --HG-- extra : commitid : ID9VOYgI5vu --- .../client/marionette/tests/unit/test_profile_management.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/testing/marionette/client/marionette/tests/unit/test_profile_management.py b/testing/marionette/client/marionette/tests/unit/test_profile_management.py index 9e942c8bdd3a..1bd544f063ff 100644 --- a/testing/marionette/client/marionette/tests/unit/test_profile_management.py +++ b/testing/marionette/client/marionette/tests/unit/test_profile_management.py @@ -60,4 +60,7 @@ class TestLog(MarionetteTestCase): # A "hard" restart is still possible (i.e., our instance is still able # to kill the browser). - self.marionette.restart() + # Note we need to clean the profile at this point so the old browser + # process doesn't interfere with the new one on Windows when it attempts + # to access the profile on startup. + self.marionette.restart(clean=True)