try to fix test failure in test_offlinePlayback.js, r=standard8, bug 722798 AURORA_BASE_20120131
authorDavid Bienvenu <bienvenu@nventure.com>
Tue, 31 Jan 2012 11:44:37 -0800
changeset 10554 cce7de6de28fb23566bf8ec5476bebaab97f5544
parent 10553 421466ffede8a93fbc059527b21146ebb1852871
child 10555 1d8e0da85823cb48d64dd5863888a8a987d16e47
push idunknown
push userunknown
push dateunknown
reviewersstandard8, bug
bugs722798
try to fix test failure in test_offlinePlayback.js, r=standard8, bug 722798
mailnews/imap/test/unit/test_offlinePlayback.js
--- a/mailnews/imap/test/unit/test_offlinePlayback.js
+++ b/mailnews/imap/test/unit/test_offlinePlayback.js
@@ -208,17 +208,17 @@ function doTest(test)
       testFn();
     } catch(ex) {
       gServer.stop();
       do_throw ('TEST FAILED ' + ex);
     }
   }
   else
   {
-    do_timeout_function(1000, endTest);
+    do_timeout(1000, endTest);
   }
 }
 
 function endTest()
 {
   gIMAPIncomingServer.closeCachedConnections();
   gServer.stop();