Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 16 additions & 10 deletions tools/run_tests/run_interop_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -1825,13 +1825,17 @@ def aggregate_http2_results(stdout):
if "all" in args.language or l in args.language
)
if not languages_for_mcs_cs:
print('MCS connection scaling tests will be skipped since none of the supported client languages for MCS connection scaling testcases was specified')
print(
"MCS connection scaling tests will be skipped since none of the supported client languages for MCS connection scaling testcases was specified"
)
else:
if args.server != 'java':
print('Using java for MCS connection scaling server to be used by all MCS connection scaling clients.')
if args.server != "java":
print(
"Using java for MCS connection scaling server to be used by all MCS connection scaling clients."
)
mcs_server_jobspec = server_jobspec(
_LANGUAGES['java'],
docker_images.get('java'),
_LANGUAGES["java"],
docker_images.get("java"),
args.transport_security,
manual_cmd_log=server_manual_cmd_log,
set_max_concurrent_streams_limit=True,
Expand All @@ -1843,15 +1847,17 @@ def aggregate_http2_results(stdout):
for language in languages_for_mcs_cs:
test_job = cloud_to_cloud_jobspec(
language,
'max_concurrent_streams_connection_scaling',
'java-mcs',
'localhost',
"max_concurrent_streams_connection_scaling",
"java-mcs",
"localhost",
mcs_server_job.mapped_port(_DEFAULT_SERVER_PORT),
docker_image=docker_images.get(str(language)),
transport_security=args.transport_security,
manual_cmd_log=client_manual_cmd_log,
add_env={'GRPC_EXPERIMENTAL_MAX_CONCURRENT_STREAMS_CONNECTION_SCALING': 'true',
'GRPC_EXPERIMENTS': 'subchannel_connection_scaling'},
add_env={
"GRPC_EXPERIMENTAL_MAX_CONCURRENT_STREAMS_CONNECTION_SCALING": "true",
"GRPC_EXPERIMENTS": "subchannel_connection_scaling",
},
)
jobs.append(test_job)

Expand Down