Skip to content

Commit

Permalink
Allow network access in some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
comius committed Sep 25, 2024
1 parent a085efa commit 7fb502c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ java_test(
"RepoWithRuleWritingTextGenerator.java",
"WorkspaceTestUtils.java",
],
tags = ["black_box_test"],
tags = [
"black_box_test",
"requires-network", # Fetches Python toolchains on systems where supported
],
deps = common_deps + [
"//src/main/java/com/google/devtools/build/lib/bazel/repository",
"//src/main/java/com/google/devtools/build/lib/vfs",
Expand Down
5 changes: 4 additions & 1 deletion src/test/shell/bazel/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,10 @@ sh_test(
srcs = ["cc_integration_test.sh"],
data = [":test-deps"],
shard_count = 10,
tags = ["no_windows"],
tags = [
"no_windows",
"requires-network", # Fetches Python toolchains on systems where supported
],
)

sh_test(
Expand Down

0 comments on commit 7fb502c

Please sign in to comment.