Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
ctiller committed Jan 29, 2025
1 parent 369a625 commit 1e6e5d6
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
33 changes: 33 additions & 0 deletions test/core/handshake/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,44 @@
# limitations under the License.

load("//bazel:grpc_build_system.bzl", "grpc_cc_library", "grpc_cc_test", "grpc_package")
load("//test/core/test_util:grpc_fuzzer.bzl", "grpc_fuzz_test")

grpc_package(name = "test/core/handshake")

licenses(["notice"])

grpc_cc_library(
name = "test_handshake",
srcs = ["test_handshake.cc"],
hdrs = ["test_handshake.h"],
deps = [
"//:handshaker",
"//:iomgr",
"//src/core:channel_args",
"//src/core:channel_args_endpoint_config",
"//src/core:event_engine_memory_allocator_factory",
"//src/core:event_engine_tcp_socket_utils",
"//src/core:resource_quota",
"//test/core/event_engine/fuzzing_event_engine",
"//test/core/event_engine/fuzzing_event_engine:fuzzing_event_engine_cc_proto",
],
)

grpc_fuzz_test(
name = "handshaker_fuzzer",
srcs = ["handshaker_fuzzer.cc"],
external_deps = [
"fuzztest",
"fuzztest_main",
],
deps = [
"test_handshake",
"//test/core/event_engine/fuzzing_event_engine:fuzzing_event_engine_cc_proto",
"//test/core/test_util:fuzzing_channel_args",
"//test/core/test_util:fuzzing_channel_args_cc_proto",
],
)

grpc_cc_test(
name = "client_ssl_test",
srcs = ["client_ssl.cc"],
Expand Down
1 change: 1 addition & 0 deletions tools/distrib/fix_build_deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,7 @@ def score_best(proposed, existing):
"test/core/call/yodel",
"test/core/client_channel",
"test/core/experiments",
"test/core/handshake",
"test/core/load_balancing",
"test/core/util",
"test/core/test_util",
Expand Down

0 comments on commit 1e6e5d6

Please sign in to comment.