BUILD 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. # Copyright 2017 gRPC authors.
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. load("//bazel:grpc_build_system.bzl", "grpc_cc_test", "grpc_package")
  15. licenses(["notice"])
  16. grpc_package(name = "test/cpp/client")
  17. grpc_cc_test(
  18. name = "credentials_test",
  19. srcs = ["credentials_test.cc"],
  20. data = [
  21. "//src/core/tsi/test_creds:ca.pem",
  22. "//src/core/tsi/test_creds:server1.key",
  23. "//src/core/tsi/test_creds:server1.pem",
  24. ],
  25. external_deps = [
  26. "gtest",
  27. ],
  28. deps = [
  29. "//:gpr",
  30. "//:grpc",
  31. "//:grpc++",
  32. "//test/core/util:grpc_test_util",
  33. "//test/cpp/util:tls_test_utils",
  34. ],
  35. )
  36. grpc_cc_test(
  37. name = "client_channel_stress_test",
  38. srcs = ["client_channel_stress_test.cc"],
  39. # TODO(jtattermusch): test fails frequently on Win RBE, but passes locally
  40. # reenable the tests once it works reliably on Win RBE.
  41. # TODO(roth): Test marked as manual for now due to variable duration
  42. # problem triggered by https://github.com/grpc/grpc/pull/22481.
  43. # Once we figure out the problem, either re-enable or just decide to
  44. # remove this test. Tracked internally in b/153136407.
  45. tags = [
  46. "manual",
  47. "no_test_android", # fails on android due to "Too many open files".
  48. "no_windows",
  49. ],
  50. deps = [
  51. "//:gpr",
  52. "//:grpc",
  53. "//:grpc++",
  54. "//:grpc_resolver_fake",
  55. "//src/proto/grpc/lb/v1:load_balancer_proto",
  56. "//src/proto/grpc/testing:echo_messages_proto",
  57. "//src/proto/grpc/testing:echo_proto",
  58. "//src/proto/grpc/testing/duplicate:echo_duplicate_proto",
  59. "//test/core/util:grpc_test_util",
  60. "//test/cpp/end2end:test_service_impl",
  61. "//test/cpp/util:test_util",
  62. ],
  63. )
  64. grpc_cc_test(
  65. name = "destroy_grpclb_channel_with_active_connect_stress_test",
  66. srcs = ["destroy_grpclb_channel_with_active_connect_stress_test.cc"],
  67. external_deps = ["gtest"],
  68. deps = [
  69. "//:gpr",
  70. "//:grpc",
  71. "//:grpc++",
  72. "//:grpc_resolver_fake",
  73. "//test/core/util:grpc_test_util",
  74. "//test/cpp/util:test_util",
  75. ],
  76. )