Bug 588048 intermittent orange diagnosis test-only change. Further reduce timeout interval to 240 seconds from 290 since 290 was still not short enough. r=Standard8 over irc.
authorAndrew Sutherland <asutherland@asutherland.org>
Thu, 07 Oct 2010 02:14:39 -0700
changeset 6510 afb7f32df77e548ab456805ed9f210eb1ddfb0ee
parent 6509 b731a64e25049ea0a599914de2dc1de1aeb45041
child 6511 8d9a2e529de2b5c3b0e14f8ea5010e6bde053a0f
push idunknown
push userunknown
push dateunknown
reviewersStandard8
bugs588048
Bug 588048 intermittent orange diagnosis test-only change. Further reduce timeout interval to 240 seconds from 290 since 290 was still not short enough. r=Standard8 over irc.
mailnews/test/resources/asyncTestUtils.js
--- a/mailnews/test/resources/asyncTestUtils.js
+++ b/mailnews/test/resources/asyncTestUtils.js
@@ -230,20 +230,20 @@ function _async_test_runner_timeout() {
  *  to run the test once for each element in the aParameters list.  If the
  *  elements in the aParameters list have a 'name' attribute, it will get
  *  printed out to help figure out what is actually happening.
  */
 function parameterizeTest(aTestFunc, aParameters) {
   return [aTestFunc, aParameters];
 }
 
-// This time is 10 seconds less than the tinderbox timeout default of 300
+// This time is 60 seconds less than the tinderbox timeout default of 300
 // seconds and will hopefully cause tests to give us their logs before that
 // timeout.
-const DEFAULT_LONGEST_TEST_RUN_CONCEIVABLE_SECS = 290;
+const DEFAULT_LONGEST_TEST_RUN_CONCEIVABLE_SECS = 240;
 function async_run_tests(aTests, aLongestTestRunTimeConceivableInSecs) {
   if (aLongestTestRunTimeConceivableInSecs == null)
     aLongestTestRunTimeConceivableInSecs =
         DEFAULT_LONGEST_TEST_RUN_CONCEIVABLE_SECS;
   do_timeout(aLongestTestRunTimeConceivableInSecs * 1000,
       _async_test_runner_timeout);
 
   do_test_pending();