Bug 1416779 - disable firewall notifications; r?MattN draft
authorRob Thijssen <rthijssen@mozilla.com>
Tue, 05 Dec 2017 14:12:55 +0200
changeset 707760 043b7686af1c74ed582c916828f43cc4f145c909
parent 706949 195bb467e6cb5c8c5f5fb2858c0a55b2d0b9552d
child 743032 81648215caea6a2af13b4b2cd39675cc358ca176
push id92214
push userrthijssen@mozilla.com
push dateTue, 05 Dec 2017 20:13:13 +0000
reviewersMattN
bugs1416779
milestone59.0a1
Bug 1416779 - disable firewall notifications; r?MattN MozReview-Commit-ID: 88jOI6CVhja
testing/mozharness/configs/unittests/win_taskcluster_unittest.py
--- a/testing/mozharness/configs/unittests/win_taskcluster_unittest.py
+++ b/testing/mozharness/configs/unittests/win_taskcluster_unittest.py
@@ -269,16 +269,26 @@ config = {
                 os.path.join(os.getcwd(),
                     'mozharness', 'external_tools', 'machine-configuration.json')
             ],
             'architectures': ['32bit', '64bit'],
             'halt_on_failure': True,
             'enabled': ADJUST_MOUSE_AND_SCREEN
         },
         {
+            'name': 'disable windows security and maintenance notifications',
+            'cmd': [
+                'powershell', '-command',
+                '"&{$p=\'HKCU:SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\Windows.SystemToast.SecurityAndMaintenance\';if(!(Test-Path -Path $p)){&New-Item -Path $p -Force}&Set-ItemProperty -Path $p -Name Enabled -Value 0}"'
+            ],
+            'architectures': ['32bit', '64bit'],
+            'halt_on_failure': True,
+            'enabled': (platform.release() == 10)
+        },
+        {
             'name': 'set windows VisualFX',
             'cmd': [
                 'powershell', '-command',
                 '"&{{&Set-ItemProperty -Path \'HKCU:Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\' -Name VisualFXSetting -Value {}}}"'.format(DESKTOP_VISUALFX_THEME)
             ],
             'architectures': ['32bit', '64bit'],
             'halt_on_failure': True,
             'enabled': True