Bug 1546178 - Fix live-sites support when running Raptor cold page-load on android; r=davehunt
authorRob Wood <rwood@mozilla.com>
Tue, 23 Apr 2019 18:09:43 +0000
changeset 470523 74d827325fbe641c181842bd62c201eecfa42432
parent 470522 db146a70077d0fef30987a87e7835e81fd6c5c54
child 470524 1c38471c164e3cad23fcc6ef3ff88c0cfdacce2a
push id35906
push useraciure@mozilla.com
push dateTue, 23 Apr 2019 22:14:56 +0000
treeherdermozilla-central@0ce3633f8b80 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdavehunt
bugs1546178
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1546178 - Fix live-sites support when running Raptor cold page-load on android; r=davehunt Differential Revision: https://phabricator.services.mozilla.com/D28399
testing/raptor/raptor/raptor.py
--- a/testing/raptor/raptor/raptor.py
+++ b/testing/raptor/raptor/raptor.py
@@ -756,20 +756,21 @@ class RaptorAndroid(Raptor):
 
                 # clear the android app data before the next app startup
                 self.clear_app_data()
 
                 # initial browser profile was already created before run_test was called;
                 # now additional browser cycles we want to create a new one each time
                 self.create_browser_profile()
 
-                # get cert db from previous cycle profile and copy into new clean profile
-                # this saves us from having to start playback again / recreate cert db etc.
-                self.log.info("copying existing ssl cert db into new browser profile")
-                self.copy_cert_db(local_cert_db_dir, self.config['local_profile_dir'])
+                if test.get('playback') is not None:
+                    # get cert db from previous cycle profile and copy into new clean profile
+                    # this saves us from having to start playback again / recreate cert db etc.
+                    self.log.info("copying existing ssl cert db into new browser profile")
+                    self.copy_cert_db(local_cert_db_dir, self.config['local_profile_dir'])
 
                 self.run_test_setup(test)
 
             if test.get('playback', None) is not None:
                 self.turn_on_android_app_proxy()
 
             self.copy_profile_onto_device()