Skip to content

Commit

Permalink
[bazel] allow specifying exec_properties in envoy_cc_test (envoyp…
Browse files Browse the repository at this point in the history
…roxy#19711)

In order to pass properties such as `sandboxNetwork` as we are trying to do in Envoy Mobile here: envoyproxy/envoy-mobile#2022
Risk Level: Low

Signed-off-by: JP Simard <jp@jpsim.com>
Signed-off-by: Josh Perry <josh.perry@mx.com>
  • Loading branch information
jpsim authored and Josh Perry committed Feb 13, 2022
1 parent 536f61e commit d53de0d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bazel/envoy_test.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ def envoy_cc_test(
local = False,
size = "medium",
flaky = False,
env = {}):
env = {},
exec_properties = {}):
coverage_tags = tags + ([] if coverage else ["nocoverage"])

cc_test(
Expand All @@ -184,6 +185,7 @@ def envoy_cc_test(
size = size,
flaky = flaky,
env = env,
exec_properties = exec_properties,
)

# Envoy C++ test related libraries (that want gtest, gmock) should be specified
Expand Down

0 comments on commit d53de0d

Please sign in to comment.