Bug 1342828 - Use many chunks in thunderbird debug tests. draft
authorTom Prince <mozilla@hocat.ca>
Mon, 17 Jul 2017 11:19:57 -0600
changeset 15324 3d3f44b751d0f40b172895a34ec899b5dfecaf7e
parent 14791 d9dce75b8a2b07301e51a51284822c7bde2770ea
child 15382 f0c13529b528db36ed1b204ab7e49041e71aa8ca
push id178
push userbmo:mozilla@hocat.ca
push dateMon, 17 Jul 2017 17:27:05 +0000
bugs1342828
Bug 1342828 - Use many chunks in thunderbird debug tests. MozReview-Commit-ID: 6n3gNJMGkU1
mozilla-tests/thunderbird_config.py
--- a/mozilla-tests/thunderbird_config.py
+++ b/mozilla-tests/thunderbird_config.py
@@ -134,72 +134,72 @@ XPCSHELL = [
         'script_path': 'scripts/desktop_unittest.py',
         'extra_args': ['--xpcshell-suite', 'xpcshell',
                        '--cfg', 'unittests/thunderbird_extra.py',
                        '--opt-cfg', 'unittests/thunderbird_buildbot.py'],
         'blob_upload': True,
         'script_maxtime': 7200,
     }),
 ]
-XPCSHELL_TWO_CHUNKS = [
+XPCSHELL_MANY_CHUNKS = [
     ('xpcshell', {
         'use_mozharness': True,
         'script_path': 'scripts/desktop_unittest.py',
         'extra_args': ['--xpcshell-suite', 'xpcshell',
                        '--cfg', 'unittests/thunderbird_extra.py',
                        '--opt-cfg', 'unittests/thunderbird_buildbot.py'],
         'blob_upload': True,
-        'script_maxtime': 7200,
-        'totalChunks': 2,
+        'script_maxtime': 3600*3,
+        'totalChunks': 4,
     }),
 ]
 MOZMILL = [
     ('mozmill', {
         'use_mozharness': True,
         'script_path': 'scripts/desktop_unittest.py',
         'extra_args': ['--mozmill-suite', 'mozmill',
                        '--cfg', 'unittests/thunderbird_extra.py',
                        '--opt-cfg', 'unittests/thunderbird_buildbot.py'],
         'blob_upload': True,
         'script_maxtime': 7200,
     }),
 ]
-MOZMILL_TWO_CHUNKS = [
+MOZMILL_MANY_CHUNKS = [
     ('mozmill', {
         'use_mozharness': True,
         'script_path': 'scripts/desktop_unittest.py',
         'extra_args': ['--mozmill-suite', 'mozmill',
                        '--cfg', 'unittests/thunderbird_extra.py',
                        '--opt-cfg', 'unittests/thunderbird_buildbot.py'],
         'blob_upload': True,
-        'script_maxtime': 7200,
-        'totalChunks': 2,
+        'script_maxtime': 3600*3,
+        'totalChunks': 4,
     }),
 ]
 
 # Default set of unit tests
 UNITTEST_SUITES = {
     'opt_unittest_suites': MOZMILL + XPCSHELL,
     'debug_unittest_suites': MOZMILL + XPCSHELL,
-    'debug_unittest_suites_two_chunks': MOZMILL_TWO_CHUNKS + XPCSHELL_TWO_CHUNKS,
+    'debug_unittest_suites_many_chunks': MOZMILL_MANY_CHUNKS + XPCSHELL_MANY_CHUNKS,
 }
 # You must define opt_unittest_suites when enable_opt_unittests is True for a
 # platform. Likewise debug_unittest_suites for enable_debug_unittests
 PLATFORM_UNITTEST_VARS = {
     'linux': {
         'product_name': 'thunderbird',
         'app_name': 'mail',
         'brand_name': 'Daily',
         'builds_before_reboot': 1,
         'unittest-env': {'DISPLAY': ':0'},
         'enable_opt_unittests': True,
         'enable_debug_unittests': True,
         'ubuntu32_vm': {
             'opt_unittest_suites': UNITTEST_SUITES['opt_unittest_suites'][:],
-            'debug_unittest_suites': UNITTEST_SUITES['debug_unittest_suites_two_chunks'][:],
+            'debug_unittest_suites': UNITTEST_SUITES['debug_unittest_suites_many_chunks'][:],
             'suite_config': {
                 'xpcshell': {
                     'config_files': ["unittests/linux_unittest.py"],
                 },
                 'mozmill': {
                     'config_files': ["unittests/linux_unittest.py"],
                 },
             },
@@ -210,17 +210,17 @@ PLATFORM_UNITTEST_VARS = {
         'app_name': 'mail',
         'brand_name': 'Daily',
         'builds_before_reboot': 1,
         'unittest-env': {'DISPLAY': ':0'},
         'enable_opt_unittests': True,
         'enable_debug_unittests': True,
         'ubuntu64_vm': {
             'opt_unittest_suites': UNITTEST_SUITES['opt_unittest_suites'][:],
-            'debug_unittest_suites': UNITTEST_SUITES['debug_unittest_suites_two_chunks'][:],
+            'debug_unittest_suites': UNITTEST_SUITES['debug_unittest_suites_many_chunks'][:],
             'suite_config': {
                 'xpcshell': {
                     'config_files': ["unittests/linux_unittest.py"],
                 },
                 'mozmill': {
                     'config_files': ["unittests/linux_unittest.py"],
                 },
             },