From b994aed2301e18456d30ce7c587ac362a7646f4c Mon Sep 17 00:00:00 2001 From: Geoff Brown Date: Fri, 22 Feb 2019 00:21:27 +0000 Subject: [PATCH] Bug 1528361 - Avoid unnecessary error message from Android marionette/wpt tests when profile is missing r=bc Differential Revision: https://phabricator.services.mozilla.com/D20739 --HG-- extra : moz-landing-system : lando --- testing/mozbase/mozrunner/mozrunner/devices/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/mozbase/mozrunner/mozrunner/devices/base.py b/testing/mozbase/mozrunner/mozrunner/devices/base.py index cee0e9d40905..ff023c3857c5 100644 --- a/testing/mozbase/mozrunner/mozrunner/devices/base.py +++ b/testing/mozbase/mozrunner/mozrunner/devices/base.py @@ -187,7 +187,7 @@ class Device(object): self.app_ctx.cleanup_profile() # Remove the test profile - self.device.rm(self.app_ctx.remote_profile, recursive=True) + self.device.rm(self.app_ctx.remote_profile, force=True, recursive=True) except Exception as e: print("cleanup aborted: %s" % str(e))