Bug 1328411 - Log e10s status in Marionette runner based on appinfo; r=automatedtester a=test-only
authorMaja Frydrychowicz <mjzffr@gmail.com>
Tue, 03 Jan 2017 22:23:03 -0500
changeset 368526 fd5c16ef7c97fa39d1ef1840abd2c9304df580f2
parent 368525 091c74eb5714ac9e211e76c8809e4c3e2b8b98b2
child 368527 b074ffce576d52dcb830ea8316fd38a90af68424
push id1369
push userjlorenzo@mozilla.com
push dateMon, 27 Feb 2017 14:59:41 +0000
treeherdermozilla-release@d75a1dba431f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersautomatedtester, test-only
bugs1328411
milestone52.0a2
Bug 1328411 - Log e10s status in Marionette runner based on appinfo; r=automatedtester a=test-only Previously, this log message was based on self.e10s, which only reflects the option passed into Marionette runner, not what is actually happening in the browser. MozReview-Commit-ID: GY2AaBKBA1h
testing/marionette/harness/marionette_harness/runner/base.py
--- a/testing/marionette/harness/marionette_harness/runner/base.py
+++ b/testing/marionette/harness/marionette_harness/runner/base.py
@@ -827,17 +827,17 @@ class BaseMarionetteTestRunner(object):
 
         device_info = None
         if self.marionette.instance and self.emulator:
             try:
                 device_info = self.marionette.instance.runner.device.dm.getInfo()
             except Exception:
                 self.logger.warning('Could not get device info', exc_info=True)
 
-        if self.e10s:
+        if self.appinfo.get('browserTabsRemoteAutostart', False):
             self.logger.info("e10s is enabled")
         else:
             self.logger.info("e10s is disabled")
 
         self.logger.suite_start(self.tests,
                                 version_info=self.version_info,
                                 device_info=device_info)