Bug 1504201 - "Intermittent Linux Mn testing/marionette/harness/marionette_harness/tests/unit/test_screenshot.py TestScreenCaptureChrome.test_formats | AssertionError: u'10a9988c502034662c801565ca05b9c154b933824b2f88849cab0e3e2b492da2' != '92b10dd07e1767c396f6" r=ato
authorHenrik Skupin <hskupin>
Tue, 06 Nov 2018 04:47:00 +0200
changeset 504842 74b45418136b33af8ca2b945b0a9b8087edea496
parent 504841 923646987d58dec3faabc9105114e2b1888a611f
child 504843 ecfb40d8aacca5e661aa76635a2fe76474a9e5ea
push id10290
push userffxbld-merge
push dateMon, 03 Dec 2018 16:23:23 +0000
treeherdermozilla-beta@700bed2445e6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersato
bugs1504201
milestone65.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 1504201 - "Intermittent Linux Mn testing/marionette/harness/marionette_harness/tests/unit/test_screenshot.py TestScreenCaptureChrome.test_formats | AssertionError: u'10a9988c502034662c801565ca05b9c154b933824b2f88849cab0e3e2b492da2' != '92b10dd07e1767c396f6" r=ato
testing/marionette/harness/marionette_harness/tests/unit/test_screenshot.py
--- a/testing/marionette/harness/marionette_harness/tests/unit/test_screenshot.py
+++ b/testing/marionette/harness/marionette_harness/tests/unit/test_screenshot.py
@@ -117,18 +117,20 @@ class ScreenCaptureTestCase(MarionetteTe
                 int(rect[1] * self.device_pixel_ratio))
 
 
 class TestScreenCaptureChrome(WindowManagerMixin, ScreenCaptureTestCase):
 
     def setUp(self):
         super(TestScreenCaptureChrome, self).setUp()
         self.marionette.set_context("chrome")
+        self.marionette.set_pref("marionette.log.truncate", False)
 
     def tearDown(self):
+        self.marionette.clear_pref("marionette.log.truncate")
         self.close_all_windows()
         super(TestScreenCaptureChrome, self).tearDown()
 
     @property
     def window_dimensions(self):
         return tuple(self.marionette.execute_script("""
             let el = document.documentElement;
             let rect = el.getBoundingClientRect();