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 15licenses(["notice"]) # Apache v2 16 17load("//bazel:grpc_build_system.bzl", "grpc_cc_library", "grpc_cc_test", "grpc_package") 18 19grpc_package(name = "test/cpp/client") 20 21grpc_cc_test( 22 name = "credentials_test", 23 srcs = ["credentials_test.cc"], 24 external_deps = [ 25 "gtest", 26 ], 27 deps = [ 28 "//:gpr", 29 "//:grpc", 30 "//:grpc++", 31 "//test/core/util:grpc_test_util", 32 ], 33) 34 35grpc_cc_test( 36 name = "client_channel_stress_test", 37 srcs = ["client_channel_stress_test.cc"], 38 # TODO(jtattermusch): test fails frequently on Win RBE, but passes locally 39 # reenable the tests once it works reliably on Win RBE. 40 # TODO(roth): Test marked as manual for now due to variable duration 41 # problem triggered by https://github.com/grpc/grpc/pull/22481. 42 # Once we figure out the problem, either re-enable or just decide to 43 # remove this test. Tracked internally in b/153136407. 44 tags = [ 45 "manual", 46 "no_test_android", # fails on android due to "Too many open files". 47 "no_windows", 48 ], 49 deps = [ 50 "//:gpr", 51 "//:grpc", 52 "//:grpc++", 53 "//:grpc_resolver_fake", 54 "//src/proto/grpc/lb/v1:load_balancer_proto", 55 "//src/proto/grpc/testing:echo_messages_proto", 56 "//src/proto/grpc/testing:echo_proto", 57 "//src/proto/grpc/testing/duplicate:echo_duplicate_proto", 58 "//test/core/util:grpc_test_util", 59 "//test/cpp/end2end:test_service_impl", 60 "//test/cpp/util:test_util", 61 ], 62) 63 64grpc_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) 77