Merge pull request #18201 from apolcyn/fix_thing

Build c-ares bazel lib with alwayslink=1
pull/18056/head
apolcyn 6 years ago committed by GitHub
commit 046e3e4ab5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      test/cpp/end2end/cfstream_test.cc
  2. 1
      third_party/cares/cares.BUILD

@ -270,9 +270,6 @@ int main(int argc, char** argv) {
::testing::InitGoogleTest(&argc, argv);
grpc_test_init(argc, argv);
gpr_setenv("grpc_cfstream", "1");
// TODO (pjaikumar): remove the line below when
// https://github.com/grpc/grpc/issues/18080 has been fixed.
gpr_setenv("GRPC_DNS_RESOLVER", "native");
const auto result = RUN_ALL_TESTS();
return result;
}

@ -170,4 +170,5 @@ cc_library(
visibility = [
"//visibility:public",
],
alwayslink = 1,
)

Loading…
Cancel
Save