Bug 372581 - When running on a debug build, allow for much more time when waiting for the server to start up. r=ted

This commit is contained in:
Chris AtLee 2009-09-21 08:04:24 -04:00
Родитель fdbb3e1a9e
Коммит a2bb676f2c
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -74,7 +74,10 @@ BROWSER_CHROME_URL = "chrome://browser/content/browser.xul"
# Max time in seconds to wait for server startup before tests will fail -- if
# this seems big, it's mostly for debug machines where cold startup
# (particularly after a build) takes forever.
SERVER_STARTUP_TIMEOUT = 45
if automation.IS_DEBUG_BUILD:
SERVER_STARTUP_TIMEOUT = 180
else:
SERVER_STARTUP_TIMEOUT = 45
oldcwd = os.getcwd()
SCRIPT_DIRECTORY = os.path.abspath(os.path.realpath(os.path.dirname(sys.argv[0])))