Skip to content
Snippets Groups Projects
Commit 19f703db authored by Jan Tattermusch's avatar Jan Tattermusch
Browse files

increase timeout for interop tests

parent 9ba438b1
No related branches found
No related tags found
No related merge requests found
...@@ -60,6 +60,8 @@ _SKIP_COMPRESSION = ['large_compressed_unary', ...@@ -60,6 +60,8 @@ _SKIP_COMPRESSION = ['large_compressed_unary',
_SKIP_ADVANCED = ['custom_metadata', 'status_code_and_message', _SKIP_ADVANCED = ['custom_metadata', 'status_code_and_message',
'unimplemented_method'] 'unimplemented_method']
_TEST_TIMEOUT = 3*60
class CXXLanguage: class CXXLanguage:
def __init__(self): def __init__(self):
...@@ -459,7 +461,7 @@ def cloud_to_prod_jobspec(language, test_case, server_host_name, ...@@ -459,7 +461,7 @@ def cloud_to_prod_jobspec(language, test_case, server_host_name,
environ=environ, environ=environ,
shortname='%s:%s:%s:%s' % (suite_name, server_host_name, language, shortname='%s:%s:%s:%s' % (suite_name, server_host_name, language,
test_case), test_case),
timeout_seconds=90, timeout_seconds=_TEST_TIMEOUT,
flake_retries=5 if args.allow_flakes else 0, flake_retries=5 if args.allow_flakes else 0,
timeout_retries=2 if args.allow_flakes else 0, timeout_retries=2 if args.allow_flakes else 0,
kill_handler=_job_kill_handler) kill_handler=_job_kill_handler)
...@@ -495,7 +497,7 @@ def cloud_to_cloud_jobspec(language, test_case, server_name, server_host, ...@@ -495,7 +497,7 @@ def cloud_to_cloud_jobspec(language, test_case, server_name, server_host,
environ=environ, environ=environ,
shortname='cloud_to_cloud:%s:%s_server:%s' % (language, server_name, shortname='cloud_to_cloud:%s:%s_server:%s' % (language, server_name,
test_case), test_case),
timeout_seconds=90, timeout_seconds=_TEST_TIMEOUT,
flake_retries=5 if args.allow_flakes else 0, flake_retries=5 if args.allow_flakes else 0,
timeout_retries=2 if args.allow_flakes else 0, timeout_retries=2 if args.allow_flakes else 0,
kill_handler=_job_kill_handler) kill_handler=_job_kill_handler)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment