Bug 1176798 - Increase the content response timeout to prevent intermittently failing. r=botond
authorKartikaya Gupta <kgupta@mozilla.com>
Mon, 06 Jul 2015 09:53:11 -0400
changeset 275873 8539750f5444e2cea69791fbea5bd61550743dba
parent 275872 a1017a7caaa3880a1339997f8b3407ee3e0b3d4e
child 275874 95af75ab24cd66e1e4ae654f170f05c9197bf0de
push id3246
push usergijskruitbosch@gmail.com
push dateTue, 07 Jul 2015 09:06:38 +0000
reviewersbotond
bugs1176798
milestone42.0a1
Bug 1176798 - Increase the content response timeout to prevent intermittently failing. r=botond
gfx/layers/apz/test/test_basic_pan.html
--- a/gfx/layers/apz/test/test_basic_pan.html
+++ b/gfx/layers/apz/test/test_basic_pan.html
@@ -40,17 +40,19 @@ window.onload = function() {
         // Dropping the touch slop to 0 makes the tests easier to write because
         // we can just do a one-pixel drag to get over the pan threshold rather
         // than having to hard-code some larger value.
         ["apz.touch_start_tolerance", "0.0"],
 
         // The B2G emulator is hella slow, and needs more than 300ms to run the
         // main-thread code that deals with layerizing subframes and running
         // touch listeners. In my local runs this needs to be at least 1000.
-        ["apz.content_response_timeout", "5000"]
+        // On try this sometimes needs to be as long as 8 seconds (bug 1176798)
+        // so we make it 15 seconds just to be extra safe.
+        ["apz.content_response_timeout", "15000"]
       ]
     }, testDone);
 };
 
   </script>
 </head>
 <body>
 </body>