1 # Copyright 2016 gRPC authors.
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
15 load("//bazel:grpc_build_system.bzl", "grpc_cc_binary", "grpc_cc_library", "grpc_cc_test", "grpc_package")
17 licenses(["notice"]) # Apache v2
19 grpc_package(name = "test/core/transport/chttp2")
21 load("//test/core/util:grpc_fuzzer.bzl", "grpc_fuzzer")
22 load("//bazel:custom_exec_properties.bzl", "LARGE_MACHINE")
25 name = "hpack_parser_fuzzer",
26 srcs = ["hpack_parser_fuzzer_test.cc"],
27 corpus = "hpack_parser_corpus",
28 tags = ["no_windows"],
31 "//test/core/util:grpc_test_util",
37 srcs = ["alpn_test.cc"],
42 "//test/core/util:grpc_test_util",
47 name = "bin_decoder_test",
48 srcs = ["bin_decoder_test.cc"],
54 "//test/core/util:grpc_test_util",
59 name = "bin_encoder_test",
60 srcs = ["bin_encoder_test.cc"],
66 "//test/core/util:grpc_test_util",
71 name = "context_list_test",
72 srcs = ["context_list_test.cc"],
81 "//test/core/util:grpc_test_util",
86 name = "hpack_encoder_test",
87 srcs = ["hpack_encoder_test.cc"],
93 "//test/core/util:grpc_test_util",
98 name = "hpack_parser_test",
99 srcs = ["hpack_parser_test.cc"],
101 uses_polling = False,
105 "//test/core/util:grpc_test_util",
110 name = "hpack_table_test",
111 srcs = ["hpack_table_test.cc"],
113 uses_polling = False,
117 "//test/core/util:grpc_test_util",
122 name = "stream_map_test",
123 srcs = ["stream_map_test.cc"],
128 "//test/core/util:grpc_test_util",
133 name = "settings_timeout_test",
134 srcs = ["settings_timeout_test.cc"],
138 flaky = True, # TODO(b/148399919)
143 "//test/core/util:grpc_test_util",
148 "too_many_pings_test",
149 timeout = "long", # Required for internal test infrastructure (cl/325757166)
150 srcs = ["too_many_pings_test.cc"],
151 external_deps = ["gtest"],
156 "//test/core/end2end:cq_verifier",
157 "//test/core/util:grpc_test_util",
158 "//test/cpp/util:test_config",
159 "//test/cpp/util:test_util",
164 name = "varint_test",
165 srcs = ["varint_test.cc"],
167 uses_polling = False,
171 "//test/core/util:grpc_test_util",
176 name = "remove_stream_from_stalled_lists_test",
177 srcs = ["remove_stream_from_stalled_lists_test.cc"],
178 # use LARGE_MACHINE because this test needs a certaim amount
179 # of parallelism in order to reproduce the original crash that it's meant
180 # to regression test for (a crash which is fixed by
181 # https://github.com/grpc/grpc/pull/23984). Experiments show that if this
182 # test doesn't use LARGE_MACHINE, then it will almost never reproduce the
183 # intended crash (as it's meant to before the fix is applied). But with
184 # LARGE_MACHINE, it can reproduce at a high rate.
185 exec_properties = LARGE_MACHINE,
190 tags = ["no_windows"], # LARGE_MACHINE is not configured for windows RBE
194 "//test/core/util:grpc_test_util",