Bug 1142805 - Remove unnecessary restart for update tests r=maja_zf,rail a=test-only
authorHenrik Skupin <mail@hskupin.info>
Tue, 22 Nov 2016 14:52:08 +0100
changeset 352720 ccfbf52c6bb32136d82843b001e2f6a61591ef17
parent 352719 4997bfbea525d1e7bf19067e0f4a7955dce5e46f
child 352721 9c97b8ceefee56de47fddc97bb75fd95f1773168
push id6795
push userjlund@mozilla.com
push dateMon, 23 Jan 2017 14:19:46 +0000
treeherdermozilla-esr52@76101b503191 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmaja_zf, rail, test-only
bugs1142805
milestone52.0a2
Bug 1142805 - Remove unnecessary restart for update tests r=maja_zf,rail a=test-only MozReview-Commit-ID: 6tTPJeLvntf
testing/firefox-ui/harness/firefox_ui_harness/testcases.py
--- a/testing/firefox-ui/harness/firefox_ui_harness/testcases.py
+++ b/testing/firefox-ui/harness/firefox_ui_harness/testcases.py
@@ -57,21 +57,16 @@ class UpdateTestCase(PuppeteerMixin, Mar
         if self.update_mar_channels:
             self.software_update.mar_channels.add_channels(self.update_mar_channels)
 
         # Ensure that there exists no already partially downloaded update
         self.remove_downloaded_update()
 
         self.set_preferences_defaults()
 
-        # Bug 1142805 - Until we don't modify the channel-prefs.js and update-settings.ini
-        # files before Firefox gets started, a restart of Firefox is necessary to
-        # accept the new update channel.
-        self.restart()
-
         # Dictionary which holds the information for each update
         self.updates = [{
             'build_pre': self.software_update.build_info,
             'build_post': None,
             'fallback': is_fallback,
             'patch': {},
             'success': False,
         }]