diff options
Diffstat (limited to 'test/cpp/naming/resolver_component_tests_runner_invoker.cc')
-rw-r--r-- | test/cpp/naming/resolver_component_tests_runner_invoker.cc | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/test/cpp/naming/resolver_component_tests_runner_invoker.cc b/test/cpp/naming/resolver_component_tests_runner_invoker.cc index 306c322780..fadfffe0f4 100644 --- a/test/cpp/naming/resolver_component_tests_runner_invoker.cc +++ b/test/cpp/naming/resolver_component_tests_runner_invoker.cc @@ -102,14 +102,18 @@ namespace testing { void InvokeResolverComponentTestsRunner(std::string test_runner_bin_path, std::string test_bin_path, std::string dns_server_bin_path, - std::string records_config_path) { + std::string records_config_path, + std::string test_dns_resolver_bin_path, + std::string test_tcp_connect_bin_path) { int test_dns_server_port = grpc_pick_unused_port_or_die(); SubProcess* test_driver = new SubProcess( {test_runner_bin_path, "--test_bin_path=" + test_bin_path, "--dns_server_bin_path=" + dns_server_bin_path, "--records_config_path=" + records_config_path, - "--test_dns_server_port=" + std::to_string(test_dns_server_port)}); + "--test_dns_server_port=" + std::to_string(test_dns_server_port), + "--test_dns_resolver_bin_path=" + test_dns_resolver_bin_path, + "--test_tcp_connect_bin_path=" + test_tcp_connect_bin_path}); gpr_mu test_driver_mu; gpr_mu_init(&test_driver_mu); gpr_cv test_driver_cv; @@ -171,7 +175,8 @@ int main(int argc, char** argv) { grpc::testing::InvokeResolverComponentTestsRunner( bin_dir + "/resolver_component_tests_runner", bin_dir + "/" + FLAGS_test_bin_name, bin_dir + "/test_dns_server", - bin_dir + "/resolver_test_record_groups.yaml"); + bin_dir + "/resolver_test_record_groups.yaml", + bin_dir + "/test_dns_resolver", bin_dir + "/test_tcp_connect"); } else { // Get the current binary's directory relative to repo root to invoke the // correct build config (asan/tsan/dbg, etc.). @@ -181,7 +186,9 @@ int main(int argc, char** argv) { "test/cpp/naming/resolver_component_tests_runner.sh", bin_dir + "/" + FLAGS_test_bin_name, "test/cpp/naming/test_dns_server.py", - "test/cpp/naming/resolver_test_record_groups.yaml"); + "test/cpp/naming/resolver_test_record_groups.yaml", + "test/cpp/naming/test_dns_resolver.py", + "test/cpp/naming/test_tcp_connect.py"); } grpc_shutdown(); return 0; |