Bug 1401026 - Follow-up: update test expectancy with server name. r=me a=jorgk
authorJorg K <jorgk@jorgk.com>
Wed, 20 Sep 2017 09:35:00 +0200
changeset 28607 eca90d4a27d2e1e30c7ddcfddddda5be2227b967
parent 28606 1e947b81c3f74b8a4eff17186bf7a74b30f1499c
child 28608 f26b00899997420bbb3ea06037a4487f4ce30de2
push id2020
push usermozilla@jorgk.com
push dateThu, 21 Sep 2017 15:25:57 +0000
treeherdercomm-beta@430b691235dc [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme, jorgk
bugs1401026
Bug 1401026 - Follow-up: update test expectancy with server name. r=me a=jorgk
mailnews/imap/test/unit/test_imapCopyTimeout.js
mailnews/imap/test/unit/test_starttlsFailure.js
--- a/mailnews/imap/test/unit/test_imapCopyTimeout.js
+++ b/mailnews/imap/test/unit/test_imapCopyTimeout.js
@@ -19,17 +19,17 @@ load("../../../resources/messageGenerato
 Components.utils.import("resource:///modules/mailServices.js");
 
 setupIMAPPump();
 
 var gGotAlert = false;
 var gGotMsgAdded = false;
 
 function alert(aDialogTitle, aText) {
-  do_check_true(aText.startsWith("Connection to server Mail for  timed out."));
+  do_check_true(aText.startsWith("Connection to server localhost timed out."));
   gGotAlert = true;
   async_driver();
 }
 
 var CopyListener = {
   OnStartCopy: function() {},
   OnProgress: function(aProgress, aProgressMax) {},
   SetMessageKey: function(aMsgKey) {},
--- a/mailnews/imap/test/unit/test_starttlsFailure.js
+++ b/mailnews/imap/test/unit/test_starttlsFailure.js
@@ -9,17 +9,17 @@ Components.utils.import("resource://gre/
 
 load("../../../resources/logHelper.js");
 load("../../../resources/alertTestUtils.js");
 load("../../../resources/asyncTestUtils.js");
 
 var gGotAlert = false;
 
 function alert(aDialogTitle, aText) {
-  do_check_true(aText.startsWith("Server Mail for  has disconnected"));
+  do_check_true(aText.startsWith("Server localhost has disconnected"));
   gGotAlert = true;
 }
 
 var tests = [
   setup,
   check_alert,
   teardown
 ];