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 9e942c8bdd3..1bd544f063f 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)