Bug 1383896 - reduce noise in tests r?jmaher draft reduce_noise
authorIonut Goldan <ionut.goldan@softvision.ro>
Wed, 27 Sep 2017 14:18:10 +0300
changeset 671127 f3dac2dc4a3ac30a7a3258a7e1889ce640671696
parent 671089 35fbf14b96a633c3f66ea13c1a163a3f3a4219b9
child 733421 3d05c4966277223e7a9e7ea22b49a6e97de6dc53
push id81834
push userbmo:ionut.goldan@softvision.ro
push dateWed, 27 Sep 2017 14:09:02 +0000
reviewersjmaher
bugs1383896
milestone58.0a1
Bug 1383896 - reduce noise in tests r?jmaher MozReview-Commit-ID: Jwh9lwJ1TBc
testing/talos/talos/config.py
--- a/testing/talos/talos/config.py
+++ b/testing/talos/talos/config.py
@@ -1,26 +1,29 @@
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this file,
 # You can obtain one at http://mozilla.org/MPL/2.0/.
 from __future__ import absolute_import, print_function
 
 import copy
 import os
 import sys
+import time
 
 from mozlog.commandline import setup_logging
 from talos import utils, test
 from talos.cmdline import parse_args
 
 
 class ConfigurationError(Exception):
     pass
 
 
+FAR_IN_FUTURE = 7258114800
+
 DEFAULTS = dict(
     # args to pass to browser
     extra_args='',
     buildid='testbuildid',
     init_url='getInfo.html',
     env={'NO_EM_RESTART': '1'},
     # base data for all tests
     basetest=dict(
@@ -87,16 +90,19 @@ DEFAULTS = dict(
         'extensions.autoDisableScopes': 10,
         'extensions.checkCompatibility': False,
         'extensions.enabledScopes': 5,
         'extensions.update.notifyUser': False,
         'hangmonitor.timeout': 0,
         'network.proxy.http': 'localhost',
         'network.proxy.http_port': 80,
         'network.proxy.type': 1,
+        # Bug 1383896 - reduces noise in tests
+        'idle.lastDailyNotification': int(time.time()),
+        'places.database.lastMaintenance': FAR_IN_FUTURE,
         'security.enable_java': False,
         'security.fileuri.strict_origin_policy': False,
         'dom.send_after_paint_to_content': True,
         'security.turn_off_all_security_so_that_viruses_can_'
         'take_over_this_computer': True,
         'browser.newtabpage.activity-stream.default.sites': '',
         'browser.newtabpage.activity-stream.telemetry': False,
         'browser.newtabpage.activity-stream.feeds.section.topstories': False,