Skip to content

Commit

Permalink
bazel: mark envtests as "requires-network"
Browse files Browse the repository at this point in the history
Envtests require networking, strict sandbox only allows networking if tag is set.
See https://bazel.build/reference/be/common-definitions#common.tags for further explanation.
  • Loading branch information
malt3 committed Aug 18, 2023
1 parent 1f12541 commit 1d5f244
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions operators/constellation-node-operator/controllers/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ go_test(
},
# keep
gotags = ["integration"],
# keep
tags = ["requires-network"],
deps = [
"//3rdparty/node-maintenance-operator/api/v1beta1",
"//internal/constants",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ go_test(
},
# keep
gotags = ["integration"],
# keep
tags = ["requires-network"],
deps = [
"//internal/constants",
"//operators/constellation-node-operator/api/v1alpha1",
Expand Down

0 comments on commit 1d5f244

Please sign in to comment.