fix permanent orange in xpcshell test, bug713767, r=standard8
authorDavid Bienvenu <bienvenu@nventure.com>
Thu, 19 Jan 2012 11:53:43 -0800
changeset 10459 277a05c41121a286737e5299cbf0a51125799a81
parent 10458 f05734727929a26c86f08f394a5a4578877ae394
child 10460 b43d9f97aad8bb299a5308f87e78d87fa7cb3614
push idunknown
push userunknown
push dateunknown
reviewersstandard8
bugs713767
fix permanent orange in xpcshell test, bug713767, r=standard8
mailnews/imap/test/unit/test_imapHighWater.js
--- a/mailnews/imap/test/unit/test_imapHighWater.js
+++ b/mailnews/imap/test/unit/test_imapHighWater.js
@@ -156,16 +156,18 @@ function doMoves() {
   }
   // Check that CopyMessages will handle having a high highwater mark.
   // It will thrown an exception if it can't.
   let msgHdr = gFolder1.msgDatabase.CreateNewHdr(0xfffffffd);
   gFolder1.msgDatabase.AddNewHdrToDB(msgHdr, false);
   MailServices.copy.CopyMessages(gIMAPInbox, headers1, gFolder1, true,
                                  CopyListener, dummyMsgWindow, true);
   yield false;
+  gServer.performTest("UID COPY");
+
   gFolder1.msgDatabase.DeleteHeader(msgHdr, null, true, false);
   gIMAPInbox.updateFolderWithListener(null, UrlListener);
   yield false;
   // this should clear the dummy headers.
   gFolder1.updateFolderWithListener(dummyMsgWindow, UrlListener);
   yield false;
   let serverSink = gIMAPIncomingServer.QueryInterface(Ci.nsIImapServerSink);
   do_check_eq(gFolder1.msgDatabase.dBFolderInfo.highWater, 11);