Bug 1342828 - Use many chunks in thunderbird debug tests. draft
authorTom Prince <mozilla@hocat.ca>
Mon, 17 Jul 2017 11:19:57 -0600
changeset 15323 c47f348b67719239ec47d3f845e93bf2e4097124
parent 15322 deee700cc36696d4d700d9bde97fe57e2ac645f6
push id177
push userbmo:mozilla@hocat.ca
push dateMon, 17 Jul 2017 17:22:28 +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,17 +134,17 @@ 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,
@@ -157,48 +157,48 @@ MOZMILL = [
         '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'],
         'blob_upload': True,
         'script_maxtime': 7200,
         'totalChunks': 2,
     }),
 ]
 
 # 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"],
                 },
             },
@@ -209,17 +209,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"],
                 },
             },