run-tests: increase default timeout

Summary:
With the upcoming `buck test` change, the default timeout is
not enough because of the python wrapper overhead. Let's double
the limits.

Reviewed By: DurhamG

Differential Revision: D6879874

fbshipit-source-id: 19175be8c4f48dda1fc8917d75798d840d4082da
This commit is contained in:
Jun Wu 2018-02-02 12:17:34 -08:00 committed by Saurabh Singh
parent 30ca26055f
commit ae4b932a4e

View File

@ -250,8 +250,8 @@ if 'java' in sys.platform:
defaults = {
'jobs': ('HGTEST_JOBS', multiprocessing.cpu_count()),
'timeout': ('HGTEST_TIMEOUT', 180),
'slowtimeout': ('HGTEST_SLOWTIMEOUT', 500),
'timeout': ('HGTEST_TIMEOUT', 360),
'slowtimeout': ('HGTEST_SLOWTIMEOUT', 1000),
'port': ('HGTEST_PORT', 20059),
'shell': ('HGTEST_SHELL', 'sh'),
}