Bug 1426674 - Disable profile pre-run for DAMP. r=jmaher draft
authorAlexandre Poirot <poirot.alex@gmail.com>
Mon, 04 Dec 2017 09:04:39 -0800
changeset 714074 5f32fe77424bb9bfbb7227dcb26fdf356172b989
parent 713183 2d580aeac901ce5c61a4e5445b46906ce3cf33d8
child 744511 df05ca57141dea02e890ad0e3602c1d44804c169
push id93838
push userbmo:poirot.alex@gmail.com
push dateThu, 21 Dec 2017 17:25:18 +0000
reviewersjmaher
bugs1426674
milestone59.0a1
Bug 1426674 - Disable profile pre-run for DAMP. r=jmaher DAMP doesn't seem to require running Firefox once before running the tests. DAMP results are about the same with/without warming up the profile. MozReview-Commit-ID: F9ECgRfxxWY
testing/talos/talos/ffsetup.py
--- a/testing/talos/talos/ffsetup.py
+++ b/testing/talos/talos/ffsetup.py
@@ -192,17 +192,17 @@ class FFSetup(object):
             self.gecko_profile.clean()
 
     def __enter__(self):
         LOG.info('Initialising browser for %s test...'
                  % self.test_config['name'])
         self._init_env()
         self._init_profile()
         try:
-            if not self.debug_mode:
+            if not self.debug_mode and self.test_config['name'] != "damp":
                 self._run_profile()
         except:
             self.clean()
             raise
         self._init_gecko_profile()
         LOG.info('Browser initialized.')
         return self