Only run bad http2 server tests with supported client/server pairs.

pull/9614/head
Adele Zhou 8 years ago
parent 992d5cd89b
commit 8e7e1e37fa
  1. 7
      tools/run_tests/run_interop_tests.py

@ -895,7 +895,6 @@ try:
spec = server_jobspec(http2InteropServer, docker_images.get(lang)) spec = server_jobspec(http2InteropServer, docker_images.get(lang))
job = dockerjob.DockerJob(spec) job = dockerjob.DockerJob(spec)
server_jobs[lang] = job server_jobs[lang] = job
server_addresses[lang] = ('localhost', _DEFAULT_SERVER_PORT)
jobs = [] jobs = []
if args.cloud_to_prod: if args.cloud_to_prod:
@ -976,9 +975,9 @@ try:
for test_case in _HTTP2_BADSERVER_TEST_CASES: for test_case in _HTTP2_BADSERVER_TEST_CASES:
test_job = cloud_to_cloud_jobspec(language, test_job = cloud_to_cloud_jobspec(language,
test_case, test_case,
server_name, str(http2InteropServer),
server_host, 'localhost',
server_port, _DEFAULT_SERVER_PORT,
docker_image=docker_images.get(str(language))) docker_image=docker_images.get(str(language)))
jobs.append(test_job) jobs.append(test_job)

Loading…
Cancel
Save