@@ -238,70 +238,70 @@ envoy_proto_library(
238238)
239239
240240# envoy_cc_test_binary is generating mostly static binary regardless of config
241- envoy_cc_test_binary (
242- name = "config_impl_test_static" ,
243- rbe_pool = "6gig" ,
244- deps = [
245- ":config_impl_test_lib" ,
246- "//test:main" ,
247- ],
248- )
249-
250- sh_binary (
251- name = "corpus_from_config_impl_sh" ,
252- srcs = ["corpus_from_config_impl.sh" ],
253- )
254-
255- envoy_directory_genrule (
256- name = "corpus_from_config_impl" ,
257- testonly = 1 ,
258- srcs = [
259- # This is deliberately in srcs, since we run into host/target confusion
260- # otherwise in oss-fuzz builds.
261- ":config_impl_test_static" ,
262- "@openssl//:openssl" ,
263- ],
264- cmd = " " .join ([
265- "$(location corpus_from_config_impl_sh)" ,
266- "$(location //test/common/router:config_impl_test_static)" ,
267- ]),
268- exec_properties = select ({
269- "//bazel:engflow_rbe_x86_64 " : {"Pool" : "6gig" },
270- "//conditions:default" : {},
271- }),
272- tools = [":corpus_from_config_impl_sh" ],
273- )
274-
275- filegroup (
276- name = "route_corpus" ,
277- testonly = 1 ,
278- srcs = select ({
279- # TODO(asraa): Clean this up for cross-compilation. Right now we assume
280- # the host and target are the same on x86 builds, so we only execute the
281- # corpus generation binary on x86 platforms.
282- "//bazel:x86" : [":corpus_from_config_impl" ],
283- "//conditions:default" : [],
284- }) + glob ([
285- "route_corpus/**" ,
286- ]),
287- )
288-
289- envoy_cc_fuzz_test (
290- name = "route_fuzz_test" ,
291- size = "large" ,
292- srcs = ["route_fuzz_test.cc" ],
293- corpus = ":route_corpus" ,
294- rbe_pool = "6gig" ,
295- # The :config_impl_test_static target does not build with coverage
296- tags = ["nocoverage" ],
297- deps = [
298- ":route_fuzz_proto_cc_proto" ,
299- "//source/common/router:config_lib" ,
300- "//test/fuzz:utility_lib" ,
301- "//test/mocks/server:instance_mocks" ,
302- "@envoy_api//envoy/config/route/v3:pkg_cc_proto" ,
303- ],
304- )
241+ # envoy_cc_test_binary(
242+ # name = "config_impl_test_static",
243+ # rbe_pool = "6gig",
244+ # deps = [
245+ # ":config_impl_test_lib",
246+ # "//test:main",
247+ # ],
248+ # )
249+
250+ # sh_binary(
251+ # name = "corpus_from_config_impl_sh",
252+ # srcs = ["corpus_from_config_impl.sh"],
253+ # )
254+
255+ # envoy_directory_genrule(
256+ # name = "corpus_from_config_impl",
257+ # testonly = 1,
258+ # srcs = [
259+ # # This is deliberately in srcs, since we run into host/target confusion
260+ # # otherwise in oss-fuzz builds.
261+ # ":config_impl_test_static",
262+ # "@openssl//:openssl",
263+ # ],
264+ # cmd = " ".join([
265+ # "$(location corpus_from_config_impl_sh)",
266+ # "$(location //test/common/router:config_impl_test_static)",
267+ # ]),
268+ # exec_properties = select({
269+ # "//bazel:engflow_rbe ": {"Pool": "6gig"},
270+ # "//conditions:default": {},
271+ # }),
272+ # tools = [":corpus_from_config_impl_sh"],
273+ # )
274+
275+ # filegroup(
276+ # name = "route_corpus",
277+ # testonly = 1,
278+ # srcs = select({
279+ # # TODO(asraa): Clean this up for cross-compilation. Right now we assume
280+ # # the host and target are the same on x86 builds, so we only execute the
281+ # # corpus generation binary on x86 platforms.
282+ # "//bazel:x86": [":corpus_from_config_impl"],
283+ # "//conditions:default": [],
284+ # }) + glob([
285+ # "route_corpus/**",
286+ # ]),
287+ # )
288+
289+ # envoy_cc_fuzz_test(
290+ # name = "route_fuzz_test",
291+ # size = "large",
292+ # srcs = ["route_fuzz_test.cc"],
293+ # corpus = ":route_corpus",
294+ # rbe_pool = "6gig",
295+ # # The :config_impl_test_static target does not build with coverage
296+ # tags = ["nocoverage"],
297+ # deps = [
298+ # ":route_fuzz_proto_cc_proto",
299+ # "//source/common/router:config_lib",
300+ # "//test/fuzz:utility_lib",
301+ # "//test/mocks/server:instance_mocks",
302+ # "@envoy_api//envoy/config/route/v3:pkg_cc_proto",
303+ # ],
304+ # )
305305
306306envoy_cc_test (
307307 name = "router_ratelimit_test" ,
0 commit comments