Backout part of bug 697943 / changeset b6160b9a2dc4 - disable test_offlineStoreLocking.js on windows again due to permanent failures. r=bustage-fix,a=Standard8
authorMark Banner <bugzilla@standard8.plus.com>
Mon, 23 Jan 2012 15:23:37 +0000
changeset 10126 c14dcbbdb4b21344d38aeada7b3750a597c1da99
parent 10125 e9e9a97f4717f42a014ebae0469105f325ab22fc
child 10127 265bf7f9a16891b3693c2b0649efbdaf6eaebe0b
push idunknown
push userunknown
push dateunknown
reviewersbustage-fix, Standard8
bugs697943
Backout part of bug 697943 / changeset b6160b9a2dc4 - disable test_offlineStoreLocking.js on windows again due to permanent failures. r=bustage-fix,a=Standard8
mailnews/imap/test/unit/test_offlineStoreLocking.js
--- a/mailnews/imap/test/unit/test_offlineStoreLocking.js
+++ b/mailnews/imap/test/unit/test_offlineStoreLocking.js
@@ -181,16 +181,21 @@ const gTestArray =
     do_check_false(movedMsg.flags & Ci.nsMsgMessageFlags.Offline);
     do_timeout(0, function(){doTest(++gCurTestNum)});
     } catch (ex) {dump(ex);}
   }
 ];
 
 function run_test()
 {
+  // XXX Disable on windows for now as it is failing there.
+  if ("@mozilla.org/windows-registry-key;1" in Cc) {
+    dump("Disabled on windows due to permanent failures\n");
+    return;
+  }
   // Add a listener.
   gIMAPDaemon = new imapDaemon();
   gServer = makeServer(gIMAPDaemon, "");
 
   gIMAPIncomingServer = createLocalIMAPServer();
 
   loadLocalMailAccount();