Bug 1142805 - Remove unnecessary restart for update tests draft
authorHenrik Skupin <mail@hskupin.info>
Tue, 22 Nov 2016 14:52:08 +0100
changeset 442524 3ddd10e4a065e14a0069b0877ee6983bd41f3ecb
parent 442523 404a6893772434cc6d978627eaedb09b7ca5a813
child 537809 e38d1540eaa0224a7216c3980c45edd7ba4d109f
push id36715
push userbmo:hskupin@gmail.com
push dateTue, 22 Nov 2016 17:00:17 +0000
bugs1142805
milestone53.0a1
Bug 1142805 - Remove unnecessary restart for update tests 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
@@ -58,21 +58,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,
         }]