Bug 1297518 - Increase gethash timeout for testcases. r=gcp
authordimi <dlee@mozilla.com>
Tue, 06 Sep 2016 12:21:19 +0800
changeset 313036 223b9a23f37379d3e1dc23a667abbc846b812dff
parent 312896 3d0b41fdd93bd8233745eadb4e0358e385bf2cb9
child 313037 89d3a48ed4720c32f24634ccc07713bc8600f2b0
push id20479
push userkwierso@gmail.com
push dateThu, 08 Sep 2016 01:08:46 +0000
treeherderfx-team@fb7c6b034329 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgcp
bugs1297518
milestone51.0a1
Bug 1297518 - Increase gethash timeout for testcases. r=gcp MozReview-Commit-ID: BmX6UzGhfhf
toolkit/components/url-classifier/tests/mochitest/test_bug1254766.html
toolkit/components/url-classifier/tests/mochitest/test_gethash.html
--- a/toolkit/components/url-classifier/tests/mochitest/test_bug1254766.html
+++ b/toolkit/components/url-classifier/tests/mochitest/test_bug1254766.html
@@ -291,14 +291,15 @@ function runTest() {
 SimpleTest.waitForExplicitFinish();
 
 // 'network.predictor.enabled' is disabled because if other testcase load
 // evil.js, evil.css ...etc resources, it may cause we load them from cache
 // directly and bypass classifier check
 SpecialPowers.pushPrefEnv({"set": [
   ["browser.safebrowsing.malware.enabled", true],
   ["network.predictor.enabled", false],
+  ["urlclassifier.gethash.timeout_ms", 30000],
 ]}, runTest);
 
 </script>
 </pre>
 </body>
 </html>
--- a/toolkit/components/url-classifier/tests/mochitest/test_gethash.html
+++ b/toolkit/components/url-classifier/tests/mochitest/test_gethash.html
@@ -143,14 +143,15 @@ function runTest() {
 SimpleTest.waitForExplicitFinish();
 
 // 'network.predictor.enabled' is disabled because if other testcase load
 // evil.js, evil.css ...etc resources, it may cause we load them from cache
 // directly and bypass classifier check
 SpecialPowers.pushPrefEnv({"set": [
   ["browser.safebrowsing.malware.enabled", true],
   ["network.predictor.enabled", false],
+  ["urlclassifier.gethash.timeout_ms", 30000],
 ]}, runTest);
 
 </script>
 </pre>
 </body>
 </html>