diff options
Diffstat (limited to 'templates/test/cpp/naming/resolver_component_tests_defs.include')
-rw-r--r-- | templates/test/cpp/naming/resolver_component_tests_defs.include | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/templates/test/cpp/naming/resolver_component_tests_defs.include b/templates/test/cpp/naming/resolver_component_tests_defs.include index 2690af4baa..bc981dc83e 100644 --- a/templates/test/cpp/naming/resolver_component_tests_defs.include +++ b/templates/test/cpp/naming/resolver_component_tests_defs.include @@ -113,20 +113,18 @@ wait_until_dns_server_is_up(args, num_test_failures = 0 % for test in tests: -test_runner_log('Run test with target: %s' % '${test['target_name']}')\ +test_runner_log('Run test with target: %s' % '${test['test_title']}')\ current_test_subprocess = subprocess.Popen([\ args.test_bin_path,\ - '--target_name', '${test['target_name']}',\ - - '--expected_addrs', '${test['expected_addrs']}',\ - - '--expected_chosen_service_config', '${test['expected_chosen_service_config']}',\ - - '--expected_lb_policy', '${test['expected_lb_policy']}',\ + % for arg_name_and_value in test['arg_names_and_values']: +\ + '--${arg_name_and_value[0]}', '${arg_name_and_value[1]}',\ +\ + % endfor '--local_dns_server_address', '127.0.0.1:%d' % args.dns_server_port])\ current_test_subprocess.communicate()\ |