Fix unit test bustage from bug 679513 by specifying prefs to disable the test pilot information tab. a=Standard8
authorMark Banner <bugzilla@standard8.plus.com>
Wed, 12 Oct 2011 07:52:18 +0100
changeset 9277 f9c99ccc688da358ccf9b50326cdfecdc722ad91
parent 9276 e0fa80638b75f3576e94754f26ac9bfe115e3e1a
child 9278 132257a4c0a0ec72b7bc0b8f7b313cf581973eaa
push id230
push userbugzilla@standard8.plus.com
push dateTue, 08 Nov 2011 22:55:24 +0000
treeherdercomm-beta@63dad5648415 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersStandard8
bugs679513
Fix unit test bustage from bug 679513 by specifying prefs to disable the test pilot information tab. a=Standard8
mail/test/mozmill/migration-from-tb2/prefs.js
mail/test/mozmill/runtest.py
--- a/mail/test/mozmill/migration-from-tb2/prefs.js
+++ b/mail/test/mozmill/migration-from-tb2/prefs.js
@@ -9,16 +9,17 @@
  * For more information, see http://www.mozilla.org/unix/customizing.html#prefs
  */
 
 user_pref("app.update.lastUpdateTime.addon-background-update-timer", 1273257684);
 user_pref("app.update.lastUpdateTime.background-update-timer", 1273257684);
 user_pref("app.update.lastUpdateTime.blocklist-background-update-timer", 1273257684);
 user_pref("extensions.checkCompatibility.9.0a", false);
 user_pref("extensions.checkCompatibility.9.0", false);
+user_pref("extensions.testpilot.lastversion", "1.0");
 user_pref("intl.charsetmenu.mailview.cache", "windows-1252, ISO-8859-1, UTF-8");
 user_pref("ldap_2.prefs_migrated", true);
 user_pref("ldap_2.servers.default.filename", "default.mab");
 user_pref("ldap_2.servers.default.replication.lastChangeNumber", 0);
 user_pref("ldap_2.servers.default.uri", "moz-abldapdirectory://default.mab");
 user_pref("ldap_2.servers.history.replication.lastChangeNumber", 0);
 user_pref("ldap_2.servers.pab.replication.lastChangeNumber", 0);
 user_pref("mail.account.account1.server", "server1");
--- a/mail/test/mozmill/runtest.py
+++ b/mail/test/mozmill/runtest.py
@@ -135,16 +135,19 @@ class ThunderTestProfile(mozrunner.Thund
         # set the relative dirs properly
         'mail.root.none-rel' :  "[ProfD]Mail",
         'mail.root.pop3-rel' :  "[ProfD]Mail",
         # Do not allow check new mail to be set
         'mail.startup.enabledMailCheckOnce' :  True,
         # Disable compatibility checking
         'extensions.checkCompatibility.9.0a': False,
         'extensions.checkCompatibility.9.0': False,
+        # Disable test pilot new tab (this can be set to anything currently, just needs to be set).
+        'extensions.testpilot.lastversion': '1.0',
+
         # In case a developer is working on a laptop without a network
         # connection, don't detect offline mode; hence we'll still startup
         # online which is what mozmill currently requires. It'll also protect us
         # from any random network failures.
         'offline.autoDetect': False,
         # Don't load what's new or the remote start page - keep everything local
         # under our control.
         'mailnews.start_page_override.mstone' :  "ignore",