| 1 |
# Copyright 2018 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 |
|
| 15 |
load("//bazel:grpc_build_system.bzl", "grpc_cc_test", "grpc_package") |
| 16 |
|
| 17 |
licenses(["notice"]) |
| 18 |
|
| 19 |
grpc_package(name = "test/cpp/ext/filters/census") |
| 20 |
|
| 21 |
grpc_cc_test( |
| 22 |
name = "grpc_opencensus_plugin_test", |
| 23 |
srcs = [ |
| 24 |
"stats_plugin_end2end_test.cc", |
| 25 |
], |
| 26 |
external_deps = [ |
| 27 |
"gtest", |
| 28 |
"opencensus-stats-test", |
| 29 |
"opencensus-tags", |
| 30 |
"opencensus-with-tag-map", |
| 31 |
], |
| 32 |
flaky = True, |
| 33 |
language = "C++", |
| 34 |
linkstatic = True, |
| 35 |
tags = ["no_windows"], # TODO(jtattermusch): fix test on windows |
| 36 |
deps = [ |
| 37 |
"//:grpc++", |
| 38 |
"//:grpc_opencensus_plugin", |
| 39 |
"//src/proto/grpc/testing:echo_proto", |
| 40 |
"//test/core/util:grpc_test_util", |
| 41 |
"//test/cpp/end2end:test_service_impl", |
| 42 |
"//test/cpp/util:test_config", |
| 43 |
"//test/cpp/util:test_util", |
| 44 |
], |
| 45 |
) |