Debian Codegraph @

test/cpp/end2end/BUILD

raw
1 # Copyright 2017 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_binary", "grpc_cc_library", "grpc_cc_test", "grpc_package")
16
17 licenses(["notice"])
18
19 grpc_package(
20 name = "test/cpp/end2end",
21 visibility = "public",
22 ) # Allows external users to implement end2end tests.
23
24 grpc_cc_library(
25 name = "test_service_impl",
26 testonly = True,
27 srcs = ["test_service_impl.cc"],
28 hdrs = ["test_service_impl.h"],
29 external_deps = [
30 "gtest",
31 "absl/synchronization",
32 ],
33 deps = [
34 "//src/proto/grpc/testing:echo_proto",
35 "//test/core/util:grpc_test_util",
36 "//test/cpp/util:test_util",
37 ],
38 )
39
40 grpc_cc_library(
41 name = "test_health_check_service_impl",
42 testonly = True,
43 srcs = ["test_health_check_service_impl.cc"],
44 hdrs = ["test_health_check_service_impl.h"],
45 deps = [
46 "//:grpc",
47 "//:grpc++",
48 "//src/proto/grpc/health/v1:health_proto",
49 ],
50 )
51
52 grpc_cc_library(
53 name = "counted_service",
54 testonly = True,
55 hdrs = ["counted_service.h"],
56 deps = [
57 "//:grpc",
58 ],
59 )
60
61 grpc_cc_library(
62 name = "connection_attempt_injector",
63 testonly = True,
64 srcs = ["connection_attempt_injector.cc"],
65 hdrs = ["connection_attempt_injector.h"],
66 deps = [
67 "//:grpc",
68 ],
69 )
70
71 grpc_cc_library(
72 name = "interceptors_util",
73 testonly = True,
74 srcs = ["interceptors_util.cc"],
75 hdrs = ["interceptors_util.h"],
76 external_deps = [
77 "gtest",
78 ],
79 deps = [
80 "//src/proto/grpc/testing:echo_proto",
81 "//test/cpp/util:test_util",
82 ],
83 )
84
85 grpc_cc_library(
86 name = "rls_server",
87 testonly = True,
88 srcs = ["rls_server.cc"],
89 hdrs = ["rls_server.h"],
90 external_deps = [
91 "gtest",
92 ],
93 deps = [
94 ":counted_service",
95 "//src/proto/grpc/lookup/v1:rls_proto",
96 "//test/core/util:grpc_test_util",
97 ],
98 )
99
100 grpc_cc_test(
101 name = "async_end2end_test",
102 srcs = ["async_end2end_test.cc"],
103 external_deps = [
104 "gtest",
105 ],
106 tags = ["no_test_ios"],
107 deps = [
108 "//:gpr",
109 "//:grpc",
110 "//:grpc++",
111 "//src/proto/grpc/health/v1:health_proto",
112 "//src/proto/grpc/testing:echo_messages_proto",
113 "//src/proto/grpc/testing:echo_proto",
114 "//src/proto/grpc/testing/duplicate:echo_duplicate_proto",
115 "//test/core/util:grpc_test_util",
116 "//test/cpp/util:test_util",
117 ],
118 )
119
120 grpc_cc_test(
121 name = "time_change_test",
122 srcs = ["time_change_test.cc"],
123 data = [
124 ":client_crash_test_server",
125 ],
126 external_deps = [
127 "gtest",
128 ],
129 tags = [
130 "no_test_android", # android_cc_test doesn't work with data dependency.
131 "no_test_ios",
132 "no_windows",
133 ],
134 deps = [
135 ":test_service_impl",
136 "//:gpr",
137 "//:grpc",
138 "//:grpc++",
139 "//src/proto/grpc/testing:echo_messages_proto",
140 "//src/proto/grpc/testing:echo_proto",
141 "//test/core/util:grpc_test_util",
142 "//test/cpp/util:test_util",
143 ],
144 )
145
146 grpc_cc_test(
147 name = "client_crash_test",
148 srcs = ["client_crash_test.cc"],
149 data = [
150 ":client_crash_test_server",
151 ],
152 external_deps = [
153 "gtest",
154 ],
155 tags = [
156 "no_test_android", # android_cc_test doesn't work with data dependency.
157 "no_test_ios",
158 "no_windows",
159 ],
160 deps = [
161 "//:gpr",
162 "//:grpc",
163 "//:grpc++",
164 "//src/proto/grpc/testing:echo_messages_proto",
165 "//src/proto/grpc/testing:echo_proto",
166 "//src/proto/grpc/testing/duplicate:echo_duplicate_proto",
167 "//test/core/util:grpc_test_util",
168 "//test/cpp/util:test_util",
169 ],
170 )
171
172 grpc_cc_binary(
173 name = "client_crash_test_server",
174 testonly = True,
175 srcs = ["client_crash_test_server.cc"],
176 external_deps = [
177 "absl/flags:flag",
178 "gtest",
179 ],
180 deps = [
181 ":test_service_impl",
182 "//:gpr",
183 "//:grpc",
184 "//:grpc++",
185 "//src/proto/grpc/testing:echo_messages_proto",
186 "//src/proto/grpc/testing:echo_proto",
187 "//src/proto/grpc/testing/duplicate:echo_duplicate_proto",
188 "//test/core/util:grpc_test_util",
189 "//test/cpp/util:test_config",
190 "//test/cpp/util:test_util",
191 ],
192 )
193
194 grpc_cc_test(
195 name = "client_callback_end2end_test",
196 srcs = ["client_callback_end2end_test.cc"],
197 external_deps = [
198 "gtest",
199 ],
200 deps = [
201 ":interceptors_util",
202 ":test_service_impl",
203 "//:gpr",
204 "//:grpc",
205 "//:grpc++",
206 "//src/proto/grpc/testing:echo_messages_proto",
207 "//src/proto/grpc/testing:echo_proto",
208 "//src/proto/grpc/testing:simple_messages_proto",
209 "//test/core/util:grpc_test_util",
210 "//test/cpp/util:test_util",
211 ],
212 )
213
214 grpc_cc_test(
215 name = "delegating_channel_test",
216 srcs = ["delegating_channel_test.cc"],
217 external_deps = [
218 "gtest",
219 ],
220 deps = [
221 ":test_service_impl",
222 "//:gpr",
223 "//:grpc",
224 "//:grpc++",
225 "//src/proto/grpc/testing:echo_messages_proto",
226 "//src/proto/grpc/testing:echo_proto",
227 "//test/core/util:grpc_test_util",
228 "//test/cpp/util:test_util",
229 ],
230 )
231
232 grpc_cc_test(
233 name = "client_interceptors_end2end_test",
234 srcs = ["client_interceptors_end2end_test.cc"],
235 external_deps = [
236 "gtest",
237 ],
238 deps = [
239 ":interceptors_util",
240 ":test_service_impl",
241 "//:gpr",
242 "//:grpc",
243 "//:grpc++",
244 "//src/proto/grpc/testing:echo_messages_proto",
245 "//src/proto/grpc/testing:echo_proto",
246 "//test/core/util:grpc_test_util",
247 "//test/cpp/util:test_util",
248 ],
249 )
250
251 grpc_cc_library(
252 name = "end2end_test_lib",
253 testonly = True,
254 srcs = ["end2end_test.cc"],
255 external_deps = [
256 "gtest",
257 ],
258 linkstatic = True,
259 deps = [
260 ":interceptors_util",
261 ":test_service_impl",
262 "//:gpr",
263 "//:grpc",
264 "//:grpc++",
265 "//:grpc++_test",
266 "//src/proto/grpc/testing:echo_messages_proto",
267 "//src/proto/grpc/testing:echo_proto",
268 "//src/proto/grpc/testing/duplicate:echo_duplicate_proto",
269 "//test/core/util:grpc_test_util",
270 "//test/cpp/util:test_util",
271 ],
272 alwayslink = 1,
273 )
274
275 grpc_cc_test(
276 name = "channelz_service_test",
277 srcs = ["channelz_service_test.cc"],
278 data = [
279 "//src/core/tsi/test_creds:ca.pem",
280 "//src/core/tsi/test_creds:client.key",
281 "//src/core/tsi/test_creds:client.pem",
282 "//src/core/tsi/test_creds:server1.key",
283 "//src/core/tsi/test_creds:server1.pem",
284 ],
285 external_deps = [
286 "gtest",
287 ],
288 # TODO(yulin-liang): The test is not able to load the certificate files on
289 # iOS. Figure out why.
290 tags = ["no_test_ios"],
291 deps = [
292 ":test_service_impl",
293 "//:gpr",
294 "//:grpc",
295 "//:grpc++",
296 "//:grpcpp_channelz",
297 "//src/proto/grpc/channelz:channelz_proto",
298 "//src/proto/grpc/testing:echo_messages_proto",
299 "//src/proto/grpc/testing:echo_proto",
300 "//test/core/util:grpc_test_util",
301 "//test/cpp/util:test_util",
302 ],
303 )
304
305 grpc_cc_test(
306 name = "server_early_return_test",
307 srcs = ["server_early_return_test.cc"],
308 external_deps = [
309 "gtest",
310 ],
311 deps = [
312 "//:gpr",
313 "//:grpc",
314 "//:grpc++",
315 "//src/proto/grpc/testing:echo_messages_proto",
316 "//src/proto/grpc/testing:echo_proto",
317 "//test/core/util:grpc_test_util",
318 "//test/cpp/util:test_util",
319 ],
320 )
321
322 grpc_cc_test(
323 name = "end2end_test",
324 size = "large",
325 flaky = True, # TODO(b/151704375)
326 tags = ["no_test_ios"],
327 deps = [
328 ":end2end_test_lib",
329 # DO NOT REMOVE THE grpc++ dependence below since the internal build
330 # system uses it to specialize targets
331 "//:grpc++",
332 ],
333 )
334
335 grpc_cc_test(
336 name = "exception_test",
337 srcs = ["exception_test.cc"],
338 external_deps = [
339 "gtest",
340 ],
341 deps = [
342 "//:gpr",
343 "//:grpc",
344 "//:grpc++",
345 "//src/proto/grpc/testing:echo_messages_proto",
346 "//src/proto/grpc/testing:echo_proto",
347 "//test/core/util:grpc_test_util",
348 "//test/cpp/util:test_util",
349 ],
350 )
351
352 grpc_cc_test(
353 name = "filter_end2end_test",
354 srcs = ["filter_end2end_test.cc"],
355 external_deps = [
356 "gtest",
357 ],
358 deps = [
359 "//:gpr",
360 "//:grpc",
361 "//:grpc++",
362 "//src/proto/grpc/testing:echo_messages_proto",
363 "//src/proto/grpc/testing:echo_proto",
364 "//src/proto/grpc/testing/duplicate:echo_duplicate_proto",
365 "//test/core/util:grpc_test_util",
366 "//test/cpp/util:test_util",
367 ],
368 )
369
370 grpc_cc_test(
371 name = "generic_end2end_test",
372 srcs = ["generic_end2end_test.cc"],
373 external_deps = [
374 "gtest",
375 ],
376 deps = [
377 "//:gpr",
378 "//:grpc",
379 "//:grpc++",
380 "//src/proto/grpc/testing:echo_messages_proto",
381 "//src/proto/grpc/testing:echo_proto",
382 "//src/proto/grpc/testing/duplicate:echo_duplicate_proto",
383 "//test/core/util:grpc_test_util",
384 "//test/cpp/util:test_util",
385 ],
386 )
387
388 grpc_cc_test(
389 name = "health_service_end2end_test",
390 srcs = ["health_service_end2end_test.cc"],
391 external_deps = [
392 "gtest",
393 ],
394 deps = [
395 ":test_health_check_service_impl",
396 ":test_service_impl",
397 "//:gpr",
398 "//:grpc",
399 "//:grpc++",
400 "//src/proto/grpc/health/v1:health_proto",
401 "//src/proto/grpc/testing:echo_messages_proto",
402 "//src/proto/grpc/testing:echo_proto",
403 "//src/proto/grpc/testing/duplicate:echo_duplicate_proto",
404 "//test/core/util:grpc_test_util",
405 "//test/cpp/util:test_util",
406 ],
407 )
408
409 grpc_cc_test(
410 name = "hybrid_end2end_test",
411 srcs = ["hybrid_end2end_test.cc"],
412 external_deps = [
413 "gtest",
414 ],
415 deps = [
416 ":test_service_impl",
417 "//:gpr",
418 "//:grpc",
419 "//:grpc++",
420 "//src/proto/grpc/testing:echo_messages_proto",
421 "//src/proto/grpc/testing:echo_proto",
422 "//src/proto/grpc/testing/duplicate:echo_duplicate_proto",
423 "//test/core/util:grpc_test_util",
424 "//test/cpp/util:test_util",
425 ],
426 )
427
428 grpc_cc_test(
429 name = "raw_end2end_test",
430 srcs = ["raw_end2end_test.cc"],
431 external_deps = [
432 "gtest",
433 ],
434 deps = [
435 ":test_service_impl",
436 "//:gpr",
437 "//:grpc",
438 "//:grpc++",
439 "//src/proto/grpc/testing:echo_messages_proto",
440 "//src/proto/grpc/testing:echo_proto",
441 "//src/proto/grpc/testing/duplicate:echo_duplicate_proto",
442 "//test/core/util:grpc_test_util",
443 "//test/cpp/util:test_util",
444 ],
445 )
446
447 grpc_cc_test(
448 name = "mock_test",
449 srcs = ["mock_test.cc"],
450 external_deps = [
451 "gtest",
452 ],
453 deps = [
454 "//:gpr",
455 "//:grpc",
456 "//:grpc++",
457 "//:grpc++_test",
458 "//src/proto/grpc/testing:echo_messages_proto",
459 "//src/proto/grpc/testing:echo_proto",
460 "//src/proto/grpc/testing/duplicate:echo_duplicate_proto",
461 "//test/core/util:grpc_test_util",
462 "//test/cpp/util:test_util",
463 ],
464 )
465
466 grpc_cc_test(
467 name = "nonblocking_test",
468 srcs = ["nonblocking_test.cc"],
469 external_deps = [
470 "gtest",
471 ],
472 deps = [
473 "//:gpr",
474 "//:grpc",
475 "//:grpc++",
476 "//src/proto/grpc/testing:echo_messages_proto",
477 "//src/proto/grpc/testing:echo_proto",
478 "//test/core/util:grpc_test_util",
479 "//test/cpp/util:test_util",
480 ],
481 )
482
483 grpc_cc_test(
484 name = "client_lb_end2end_test",
485 srcs = ["client_lb_end2end_test.cc"],
486 external_deps = [
487 "gtest",
488 ],
489 flaky = True, # TODO(b/151315347)
490 tags = ["no_windows"], # TODO(jtattermusch): fix test on windows
491 deps = [
492 ":connection_attempt_injector",
493 ":test_service_impl",
494 "//:gpr",
495 "//:grpc",
496 "//:grpc++",
497 "//:grpcpp_orca_interceptor",
498 "//:grpcpp_orca_service",
499 "//src/proto/grpc/testing:echo_messages_proto",
500 "//src/proto/grpc/testing:echo_proto",
501 "//src/proto/grpc/testing/duplicate:echo_duplicate_proto",
502 "//src/proto/grpc/testing/xds/v3:orca_load_report_proto",
503 "//test/core/util:grpc_test_util",
504 "//test/core/util:test_lb_policies",
505 "//test/cpp/util:test_util",
506 ],
507 )
508
509 grpc_cc_test(
510 name = "rls_end2end_test",
511 srcs = ["rls_end2end_test.cc"],
512 external_deps = [
513 "gtest",
514 "absl/types:optional",
515 ],
516 flaky = True,
517 tags = ["no_test_ios"],
518 deps = [
519 ":counted_service",
520 ":rls_server",
521 ":test_service_impl",
522 "//:gpr",
523 "//:grpc",
524 "//:grpc++",
525 "//src/proto/grpc/lookup/v1:rls_proto",
526 "//src/proto/grpc/testing:echo_messages_proto",
527 "//src/proto/grpc/testing:echo_proto",
528 "//src/proto/grpc/testing/duplicate:echo_duplicate_proto",
529 "//test/core/util:grpc_test_util",
530 "//test/core/util:test_lb_policies",
531 "//test/cpp/util:test_config",
532 "//test/cpp/util:test_util",
533 ],
534 )
535
536 grpc_cc_test(
537 name = "service_config_end2end_test",
538 srcs = ["service_config_end2end_test.cc"],
539 external_deps = [
540 "gtest",
541 ],
542 deps = [
543 ":test_service_impl",
544 "//:gpr",
545 "//:grpc",
546 "//:grpc++",
547 "//src/proto/grpc/testing:echo_messages_proto",
548 "//src/proto/grpc/testing:echo_proto",
549 "//src/proto/grpc/testing/duplicate:echo_duplicate_proto",
550 "//test/core/util:grpc_test_util",
551 "//test/cpp/util:test_util",
552 ],
553 )
554
555 grpc_cc_test(
556 name = "grpclb_end2end_test",
557 srcs = ["grpclb_end2end_test.cc"],
558 external_deps = [
559 "gtest",
560 ],
561 flaky = True, # TODO(b/150567713)
562 tags = ["no_windows"], # TODO(jtattermusch): fix test on windows
563 deps = [
564 ":counted_service",
565 ":test_service_impl",
566 "//:gpr",
567 "//:grpc",
568 "//:grpc++",
569 "//:grpc_resolver_fake",
570 "//src/proto/grpc/lb/v1:load_balancer_proto",
571 "//src/proto/grpc/testing:echo_messages_proto",
572 "//src/proto/grpc/testing:echo_proto",
573 "//src/proto/grpc/testing/duplicate:echo_duplicate_proto",
574 "//test/core/util:grpc_test_util",
575 "//test/cpp/util:test_config",
576 "//test/cpp/util:test_util",
577 ],
578 )
579
580 grpc_cc_test(
581 name = "proto_server_reflection_test",
582 srcs = ["proto_server_reflection_test.cc"],
583 external_deps = [
584 "gtest",
585 ],
586 deps = [
587 ":test_service_impl",
588 "//:gpr",
589 "//:grpc",
590 "//:grpc++",
591 "//:grpc++_reflection",
592 "//src/proto/grpc/testing:echo_messages_proto",
593 "//src/proto/grpc/testing:echo_proto",
594 "//src/proto/grpc/testing/duplicate:echo_duplicate_proto",
595 "//test/core/util:grpc_test_util",
596 "//test/cpp/util:grpc++_proto_reflection_desc_db",
597 "//test/cpp/util:test_util",
598 ],
599 )
600
601 grpc_cc_test(
602 name = "server_builder_plugin_test",
603 srcs = ["server_builder_plugin_test.cc"],
604 external_deps = [
605 "gtest",
606 ],
607 deps = [
608 ":test_service_impl",
609 "//:gpr",
610 "//:grpc",
611 "//:grpc++",
612 "//src/proto/grpc/testing:echo_messages_proto",
613 "//src/proto/grpc/testing:echo_proto",
614 "//src/proto/grpc/testing/duplicate:echo_duplicate_proto",
615 "//test/core/util:grpc_test_util",
616 "//test/cpp/util:test_util",
617 ],
618 )
619
620 grpc_cc_test(
621 name = "server_crash_test",
622 srcs = ["server_crash_test.cc"],
623 data = [
624 ":server_crash_test_client",
625 ],
626 external_deps = [
627 "gtest",
628 ],
629 tags = [
630 "no_test_android", # android_cc_test doesn't work with data dependency.
631 "no_test_ios",
632 "no_windows",
633 ],
634 deps = [
635 "//:gpr",
636 "//:grpc",
637 "//:grpc++",
638 "//src/proto/grpc/testing:echo_messages_proto",
639 "//src/proto/grpc/testing:echo_proto",
640 "//src/proto/grpc/testing/duplicate:echo_duplicate_proto",
641 "//test/core/util:grpc_test_util",
642 "//test/cpp/util:test_util",
643 ],
644 )
645
646 grpc_cc_binary(
647 name = "server_crash_test_client",
648 testonly = True,
649 srcs = ["server_crash_test_client.cc"],
650 external_deps = [
651 "absl/flags:flag",
652 "gtest",
653 ],
654 deps = [
655 "//:gpr",
656 "//:grpc",
657 "//:grpc++",
658 "//src/proto/grpc/testing:echo_messages_proto",
659 "//src/proto/grpc/testing:echo_proto",
660 "//src/proto/grpc/testing/duplicate:echo_duplicate_proto",
661 "//test/core/util:grpc_test_util",
662 "//test/cpp/util:test_config",
663 "//test/cpp/util:test_util",
664 ],
665 )
666
667 grpc_cc_test(
668 name = "server_interceptors_end2end_test",
669 srcs = ["server_interceptors_end2end_test.cc"],
670 external_deps = [
671 "gtest",
672 ],
673 deps = [
674 ":interceptors_util",
675 ":test_service_impl",
676 "//:gpr",
677 "//:grpc",
678 "//:grpc++",
679 "//src/proto/grpc/testing:echo_messages_proto",
680 "//src/proto/grpc/testing:echo_proto",
681 "//test/core/util:grpc_test_util",
682 "//test/cpp/util:test_util",
683 ],
684 )
685
686 grpc_cc_test(
687 name = "server_load_reporting_end2end_test",
688 srcs = ["server_load_reporting_end2end_test.cc"],
689 external_deps = [
690 "gtest",
691 ],
692 tags = [
693 "no_test_ios",
694 "no_windows",
695 ],
696 deps = [
697 "//:grpcpp_server_load_reporting",
698 "//src/proto/grpc/testing:echo_proto",
699 "//test/cpp/util:test_util",
700 ],
701 )
702
703 grpc_cc_test(
704 name = "flaky_network_test",
705 srcs = ["flaky_network_test.cc"],
706 external_deps = [
707 "gtest",
708 ],
709 tags = [
710 # Test manipulates network settings (e.g. using iptables) while running so it is only
711 # run on demand ("manual") and when no other tests are running ("exclusive").
712 # It also means that the test won't work with setups like bazel RBE.
713 "manual",
714 "exclusive",
715 "no_test_ios",
716 ],
717 deps = [
718 ":test_service_impl",
719 "//:gpr",
720 "//:grpc",
721 "//:grpc++",
722 "//src/proto/grpc/testing:echo_messages_proto",
723 "//src/proto/grpc/testing:echo_proto",
724 "//test/core/util:grpc_test_util",
725 "//test/cpp/util:test_util",
726 ],
727 )
728
729 grpc_cc_test(
730 name = "shutdown_test",
731 srcs = ["shutdown_test.cc"],
732 external_deps = [
733 "gtest",
734 ],
735 deps = [
736 "//:gpr",
737 "//:grpc",
738 "//:grpc++",
739 "//src/proto/grpc/testing:echo_messages_proto",
740 "//src/proto/grpc/testing:echo_proto",
741 "//src/proto/grpc/testing/duplicate:echo_duplicate_proto",
742 "//test/core/util:grpc_test_util",
743 "//test/cpp/util:test_util",
744 ],
745 )
746
747 grpc_cc_test(
748 name = "streaming_throughput_test",
749 srcs = ["streaming_throughput_test.cc"],
750 external_deps = [
751 "gtest",
752 ],
753 tags = ["no_windows"],
754 deps = [
755 "//:gpr",
756 "//:grpc",
757 "//:grpc++",
758 "//src/proto/grpc/testing:echo_messages_proto",
759 "//src/proto/grpc/testing:echo_proto",
760 "//src/proto/grpc/testing/duplicate:echo_duplicate_proto",
761 "//test/core/util:grpc_test_util",
762 "//test/cpp/util:test_util",
763 ],
764 )
765
766 grpc_cc_test(
767 name = "thread_stress_test",
768 size = "large",
769 srcs = ["thread_stress_test.cc"],
770 external_deps = [
771 "gtest",
772 ],
773 shard_count = 5,
774 tags = ["no_windows"], # TODO(jtattermusch): fix test on windows
775 deps = [
776 "//:gpr",
777 "//:grpc",
778 "//:grpc++",
779 "//src/proto/grpc/testing:echo_messages_proto",
780 "//src/proto/grpc/testing:echo_proto",
781 "//src/proto/grpc/testing/duplicate:echo_duplicate_proto",
782 "//test/core/util:grpc_test_util",
783 "//test/cpp/util:test_util",
784 ],
785 )
786
787 grpc_cc_test(
788 name = "cfstream_test",
789 srcs = ["cfstream_test.cc"],
790 external_deps = [
791 "gtest",
792 ],
793 tags = [
794 # Test requires root and manipulates network settings while running so it is only
795 # run on demand ("manual") and when no other tests are running ("exclusive").
796 # It also means that the test won't work with setups like bazel RBE.
797 "manual",
798 "exclusive",
799 "no_test_android",
800 "no_test_ios",
801 ],
802 deps = [
803 ":test_service_impl",
804 "//:gpr",
805 "//:grpc",
806 "//:grpc++",
807 "//src/proto/grpc/testing:echo_messages_proto",
808 "//src/proto/grpc/testing:echo_proto",
809 "//src/proto/grpc/testing:simple_messages_proto",
810 "//test/core/util:grpc_test_util",
811 "//test/cpp/util:test_util",
812 ],
813 )
814
815 grpc_cc_test(
816 name = "message_allocator_end2end_test",
817 srcs = ["message_allocator_end2end_test.cc"],
818 external_deps = [
819 "gtest",
820 ],
821 deps = [
822 ":test_service_impl",
823 "//:gpr",
824 "//:grpc",
825 "//:grpc++",
826 "//src/proto/grpc/testing:echo_messages_proto",
827 "//src/proto/grpc/testing:echo_proto",
828 "//src/proto/grpc/testing:simple_messages_proto",
829 "//test/core/util:grpc_test_util",
830 "//test/cpp/util:test_util",
831 ],
832 )
833
834 grpc_cc_test(
835 name = "context_allocator_end2end_test",
836 srcs = ["context_allocator_end2end_test.cc"],
837 external_deps = [
838 "gtest",
839 ],
840 deps = [
841 ":test_service_impl",
842 "//:gpr",
843 "//:grpc",
844 "//:grpc++",
845 "//src/proto/grpc/testing:echo_messages_proto",
846 "//src/proto/grpc/testing:echo_proto",
847 "//src/proto/grpc/testing:simple_messages_proto",
848 "//test/core/util:grpc_test_util",
849 "//test/cpp/util:test_util",
850 ],
851 )
852
853 grpc_cc_test(
854 name = "port_sharing_end2end_test",
855 srcs = ["port_sharing_end2end_test.cc"],
856 external_deps = [
857 "gtest",
858 ],
859 deps = [
860 ":test_service_impl",
861 "//:gpr",
862 "//:grpc",
863 "//:grpc++",
864 "//src/proto/grpc/testing:echo_messages_proto",
865 "//src/proto/grpc/testing:echo_proto",
866 "//test/core/util:grpc_test_util",
867 "//test/cpp/util:test_util",
868 ],
869 )
870
871 grpc_cc_test(
872 name = "admin_services_end2end_test",
873 srcs = ["admin_services_end2end_test.cc"],
874 external_deps = [
875 "gtest",
876 ],
877 deps = [
878 "//:grpc++",
879 "//:grpc++_reflection",
880 "//:grpcpp_admin",
881 "//test/core/util:grpc_test_util",
882 "//test/cpp/util:test_util",
883 ],
884 )
885
886 grpc_cc_test(
887 name = "grpc_authz_end2end_test",
888 srcs = ["grpc_authz_end2end_test.cc"],
889 data = [
890 "//src/core/tsi/test_creds:ca.pem",
891 "//src/core/tsi/test_creds:client.key",
892 "//src/core/tsi/test_creds:client.pem",
893 "//src/core/tsi/test_creds:server1.key",
894 "//src/core/tsi/test_creds:server1.pem",
895 ],
896 external_deps = [
897 "gtest",
898 ],
899 deps = [
900 ":test_service_impl",
901 "//:gpr",
902 "//:grpc",
903 "//:grpc++",
904 "//:grpc++_authorization_provider",
905 "//src/proto/grpc/testing:echo_messages_proto",
906 "//src/proto/grpc/testing:echo_proto",
907 "//test/core/util:grpc_test_util",
908 "//test/cpp/util:test_util",
909 ],
910 )
911
912 grpc_cc_test(
913 name = "tls_key_export_test",
914 srcs = ["tls_key_export_test.cc"],
915 data = [
916 "//src/core/tsi/test_creds:ca.pem",
917 "//src/core/tsi/test_creds:client.key",
918 "//src/core/tsi/test_creds:client.pem",
919 "//src/core/tsi/test_creds:server0.key",
920 "//src/core/tsi/test_creds:server0.pem",
921 ],
922 external_deps = [
923 "gtest",
924 ],
925 deps = [
926 "//:gpr",
927 "//:grpc",
928 "//:grpc++",
929 "//src/proto/grpc/testing:echo_messages_proto",
930 "//src/proto/grpc/testing:echo_proto",
931 "//test/core/util:grpc_test_util",
932 "//test/cpp/util:test_util",
933 ],
934 )
935
936 grpc_cc_test(
937 name = "orca_service_end2end_test",
938 srcs = ["orca_service_end2end_test.cc"],
939 external_deps = [
940 "gtest",
941 ],
942 deps = [
943 "//:grpc++",
944 "//:grpcpp_orca_service",
945 "//src/proto/grpc/testing/xds/v3:orca_service_proto",
946 "//test/core/util:grpc_test_util",
947 "//test/cpp/util:test_util",
948 ],
949 )