-
Notifications
You must be signed in to change notification settings - Fork 4.8k
/
BUILD
89 lines (81 loc) · 2.76 KB
/
BUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
load(
"//bazel:envoy_build_system.bzl",
"envoy_cc_test",
"envoy_package",
"envoy_select_enable_http3",
)
licenses(["notice"]) # Apache 2
envoy_package()
exports_files(["filesystem_setup.sh"])
filegroup(
name = "filesystem_test_data",
srcs = glob(["test_data/**"]),
)
envoy_cc_test(
name = "runtime_protos_test",
srcs = ["runtime_protos_test.cc"],
rbe_pool = "6gig",
deps = [
"//source/common/runtime:runtime_lib",
"//test/mocks/runtime:runtime_mocks",
"//test/test_common:utility_lib",
"@envoy_api//envoy/config/core/v3:pkg_cc_proto",
"@envoy_api//envoy/type/v3:pkg_cc_proto",
],
)
envoy_cc_test(
name = "runtime_impl_test",
srcs = ["runtime_impl_test.cc"],
data = glob(["test_data/**"]) + ["filesystem_setup.sh"],
rbe_pool = "6gig",
deps = [
"//source/common/config:runtime_utility_lib",
"//source/common/runtime:runtime_lib",
"//source/common/stats:isolated_store_lib",
"//test/common/stats:stat_test_utility_lib",
"//test/mocks/event:event_mocks",
"//test/mocks/filesystem:filesystem_mocks",
"//test/mocks/init:init_mocks",
"//test/mocks/local_info:local_info_mocks",
"//test/mocks/protobuf:protobuf_mocks",
"//test/mocks/runtime:runtime_mocks",
"//test/mocks/server:server_mocks",
"//test/mocks/thread_local:thread_local_mocks",
"//test/mocks/upstream:cluster_manager_mocks",
"//test/test_common:environment_lib",
"//test/test_common:logging_lib",
"@envoy_api//envoy/config/bootstrap/v3:pkg_cc_proto",
"@envoy_api//envoy/config/core/v3:pkg_cc_proto",
"@envoy_api//envoy/service/discovery/v3:pkg_cc_proto",
"@envoy_api//envoy/service/runtime/v3:pkg_cc_proto",
"@envoy_api//envoy/type/v3:pkg_cc_proto",
] + envoy_select_enable_http3([
"//source/common/quic:envoy_quic_utils_lib",
]),
)
envoy_cc_test(
name = "runtime_flag_override_test",
srcs = ["runtime_flag_override_test.cc"],
args = [
"--runtime-feature-override-for-tests=envoy.reloadable_features.test_feature_false",
"--runtime-feature-disable-for-tests=envoy.reloadable_features.test_feature_true",
],
coverage = False,
rbe_pool = "6gig",
deps = [
"//source/common/runtime:runtime_lib",
],
)
envoy_cc_test(
name = "runtime_flag_override_noop_test",
srcs = ["runtime_flag_override_noop_test.cc"],
args = [
"--runtime-feature-override-for-tests=envoy.reloadable_features.test_feature_true",
"--runtime-feature-disable-for-tests=envoy.reloadable_features.test_feature_false",
],
coverage = False,
rbe_pool = "6gig",
deps = [
"//source/common/runtime:runtime_lib",
],
)