diff --git a/src/test/java/com/google/devtools/build/lib/server/BUILD b/src/test/java/com/google/devtools/build/lib/server/BUILD index c5d1a19e4064f8..e58d642c3516df 100644 --- a/src/test/java/com/google/devtools/build/lib/server/BUILD +++ b/src/test/java/com/google/devtools/build/lib/server/BUILD @@ -50,6 +50,7 @@ java_library( java_test( name = "ServerTests", size = "medium", + tags = ["requires-network"], # https://github.com/bazelbuild/bazel/issues/20743 test_class = "com.google.devtools.build.lib.AllTests", runtime_deps = [ ":ServerTests_lib", diff --git a/src/test/java/com/google/devtools/build/lib/starlarkdebug/server/BUILD b/src/test/java/com/google/devtools/build/lib/starlarkdebug/server/BUILD index d89a1d454c2569..ac2531233bf12c 100644 --- a/src/test/java/com/google/devtools/build/lib/starlarkdebug/server/BUILD +++ b/src/test/java/com/google/devtools/build/lib/starlarkdebug/server/BUILD @@ -46,6 +46,7 @@ java_test( java_test( name = "DebugServerTransportTest", srcs = ["DebugServerTransportTest.java"], + tags = ["requires-network"], # https://github.com/bazelbuild/bazel/issues/20743 deps = [ "//src/main/java/com/google/devtools/build/lib/events", "//src/main/java/com/google/devtools/build/lib/starlarkdebug/proto:starlark_debugging_java_proto",