1# Copyright 2016 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 15load("//bazel:grpc_build_system.bzl", "grpc_cc_test") 16 17licenses(["notice"]) 18 19package( 20 features = [ 21 "-layering_check", 22 "-parse_headers", 23 ], 24) 25 26grpc_cc_test( 27 name = "backoff_test", 28 srcs = ["backoff_test.cc"], 29 external_deps = ["gtest"], 30 language = "C++", 31 uses_event_engine = False, 32 uses_polling = False, 33 deps = [ 34 "//:backoff", 35 "//:exec_ctx", 36 "//:grpc", 37 "//src/core:time", 38 "//test/core/util:grpc_test_util", 39 ], 40) 41 42grpc_cc_test( 43 name = "random_early_detection_test", 44 srcs = ["random_early_detection_test.cc"], 45 external_deps = [ 46 "absl/random", 47 "gtest", 48 ], 49 language = "C++", 50 uses_event_engine = False, 51 uses_polling = False, 52 deps = ["//src/core:random_early_detection"], 53) 54