Bug 1066609 - Various Loop xpcshell tests will perma-fail when Gecko 35 merges to beta (turn off throttling for tests). r=abr, a=test-only
authorMark Banner <standard8@mozilla.com>
Thu, 18 Sep 2014 10:45:38 +0100
changeset 225151 90df4653a6552a50b631335679838b107839a0a0
parent 225150 7f22690f18fc9f44e6afd1b334731a1509d34530
child 225152 0f1e376278037d9971f2c2a969f30615e58a710b
push id3979
push userraliiev@mozilla.com
push dateMon, 13 Oct 2014 16:35:44 +0000
treeherdermozilla-beta@30f2cc610691 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersabr, test-only
bugs1066609
milestone34.0a2
Bug 1066609 - Various Loop xpcshell tests will perma-fail when Gecko 35 merges to beta (turn off throttling for tests). r=abr, a=test-only
browser/components/loop/test/xpcshell/head.js
--- a/browser/components/loop/test/xpcshell/head.js
+++ b/browser/components/loop/test/xpcshell/head.js
@@ -21,16 +21,17 @@ const kServerPushUrl = "http://localhost
 const kEndPointUrl = "http://example.com/fake";
 const kUAID = "f47ac11b-58ca-4372-9567-0e02b2c3d479";
 
 // Fake loop server
 var loopServer;
 
 // Ensure loop is always enabled for tests
 Services.prefs.setBoolPref("loop.enabled", true);
+Services.prefs.setBoolPref("loop.throttled", false);
 
 
 function setupFakeLoopServer() {
   loopServer = new HttpServer();
   loopServer.start(-1);
 
   Services.prefs.setCharPref("services.push.serverURL", kServerPushUrl);