Imported Upstream version 1.27.0
[platform/upstream/grpc.git] / test / cpp / naming / resolver_component_tests_runner_invoker.cc
index 2af5936..11f4a36 100644 (file)
 #include <sys/wait.h>
 #endif
 
-#include "test/cpp/util/subprocess.h"
-#include "test/cpp/util/test_config.h"
-
 #include "src/core/lib/gpr/env.h"
 #include "test/core/util/port.h"
+#include "test/core/util/test_config.h"
+#include "test/cpp/util/subprocess.h"
+#include "test/cpp/util/test_config.h"
 
 DEFINE_bool(
     running_under_bazel, false,
@@ -161,6 +161,7 @@ void InvokeResolverComponentTestsRunner(
 }  // namespace grpc
 
 int main(int argc, char** argv) {
+  grpc::testing::TestEnvironment env(argc, argv);
   grpc::testing::InitTest(&argc, &argv, true);
   grpc_init();
   GPR_ASSERT(FLAGS_test_bin_name != "");