Bug 618233 - Temporarily disable random orange on Windows

This commit is contained in:
Philipp von Weitershausen 2010-12-09 23:09:45 -08:00
parent da614d86c9
commit 017b137501
2 changed files with 9 additions and 0 deletions

View File

@ -71,3 +71,9 @@ let DISABLE_TESTS_BUG_604565 = false;
DISABLE_TESTS_BUG_604565 = true;
#endif
#endif
// test_jpakeclient.js produces random failures on Windows 7
let DISABLE_TESTS_BUG_618233 = false;
#ifdef XP_WIN
DISABLE_TESTS_BUG_618233 = true;
#endif

View File

@ -112,6 +112,9 @@ const DATA = {"msg": "eggstreamly sekrit"};
const POLLINTERVAL = 50;
function run_test() {
if (DISABLE_TESTS_BUG_618233)
return;
Svc.Prefs.set("jpake.serverURL", "http://localhost:8080/");
Svc.Prefs.set("jpake.pollInterval", POLLINTERVAL);
Svc.Prefs.set("jpake.maxTries", 5);