Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
ctiller committed Jan 18, 2024
1 parent 6a20825 commit 167411e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/core/transport/test_suite/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ grpc_cc_library(
deps = [
":test",
],
alwayslink = 1,
)

grpc_cc_library(
Expand All @@ -109,6 +110,7 @@ grpc_cc_library(
deps = [
":test",
],
alwayslink = 1,
)

grpc_cc_library(
Expand All @@ -118,6 +120,7 @@ grpc_cc_library(
deps = [
":test",
],
alwayslink = 1,
)

grpc_cc_library(
Expand All @@ -127,6 +130,7 @@ grpc_cc_library(
deps = [
":test",
],
alwayslink = 1,
)

grpc_proto_library(
Expand Down
2 changes: 2 additions & 0 deletions test/core/transport/test_suite/fuzzer_main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ static void dont_log(gpr_log_func_args* /*args*/) {}
DEFINE_PROTO_FUZZER(const transport_test_suite::Msg& msg) {
const auto& tests = grpc_core::TransportTestRegistry::Get().tests();
const auto& fixtures = grpc_core::TransportFixtureRegistry::Get().fixtures();
GPR_ASSERT(!tests.empty());
GPR_ASSERT(!fixtures.empty());
const int test_id = msg.test_id() % tests.size();
const int fixture_id = msg.fixture_id() % fixtures.size();

Expand Down

0 comments on commit 167411e

Please sign in to comment.