diff options
author | Andrei Vagin <avagin@google.com> | 2020-11-02 10:39:33 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-11-02 10:41:52 -0800 |
commit | 73f980e97e2df13db736271ae8e8c3bfb1c1e1aa (patch) | |
tree | 3274c066a8192a39e878c8cc254618e979441a74 /test/runner/defs.bzl | |
parent | 5e606844df577936ebcd13225da85eda80317021 (diff) |
Block external network for tests
And in this case, tests will run in separate network namespaces
and will not affect each other.
PiperOrigin-RevId: 340267734
Diffstat (limited to 'test/runner/defs.bzl')
-rw-r--r-- | test/runner/defs.bzl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/runner/defs.bzl b/test/runner/defs.bzl index 9b5994d59..4992147d4 100644 --- a/test/runner/defs.bzl +++ b/test/runner/defs.bzl @@ -97,10 +97,10 @@ def _syscall_test( # we figure out how to request ipv4 sockets on Guitar machines. if network == "host": tags.append("noguitar") - tags.append("block-network") # Disable off-host networking. tags.append("requires-net:loopback") + tags.append("block-network") # gotsan makes sense only if tests are running in gVisor. if platform == "native": |