From e8cc959cc282f53d3ac9febec122ebff81278fd1 Mon Sep 17 00:00:00 2001 From: Geoff Brown Date: Thu, 16 Jul 2015 06:20:08 -0600 Subject: [PATCH] Bug 1183717 - Increase default timeout for Android Debug reftests; r=jmaher --- layout/tools/reftest/remotereftest.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/layout/tools/reftest/remotereftest.py b/layout/tools/reftest/remotereftest.py index c0f5dd1092d..bf01c0a6ff4 100644 --- a/layout/tools/reftest/remotereftest.py +++ b/layout/tools/reftest/remotereftest.py @@ -16,6 +16,7 @@ from runreftest import ReftestOptions from automation import Automation import devicemanager import droid +import mozinfo import moznetwork from remoteautomation import RemoteAutomation, fennecLogcatFilters @@ -515,6 +516,10 @@ def main(args): reftest = RemoteReftest(automation, dm, options, SCRIPT_DIRECTORY) options = parser.verifyCommonOptions(options, reftest) + if mozinfo.info['debug']: + print "changing timeout for remote debug reftests from %s to 600 seconds" % options.timeout + options.timeout = 600 + # Hack in a symbolic link for jsreftest os.system("ln -s ../jsreftest " + str(os.path.join(SCRIPT_DIRECTORY, "jsreftest")))