diff options
author | Andrei Vagin <avagin@google.com> | 2020-07-25 01:03:02 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-07-25 01:04:45 -0700 |
commit | d6b676ae6ac6ab6f3520d6d2663b9d71c29a3788 (patch) | |
tree | d438e7c0cef264240e1b0e5b8c6ae63cf5ffde37 /test/runner/BUILD | |
parent | 7dd8d87c9626af792efdb5bb9621c7814db887d7 (diff) |
test/syscall: run each test case in a separate network namespace
... when it is possible.
The guitar gVisorKernel*Workflow-s runs test with the local execution_method.
In this case, blaze runs test cases locally without sandboxes. This means
that all tests run in the same network namespace. We have a few tests which
use hard-coded network ports and they can fail if one of these port will be
used by someone else or by another test cases.
PiperOrigin-RevId: 323137254
Diffstat (limited to 'test/runner/BUILD')
-rw-r--r-- | test/runner/BUILD | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/runner/BUILD b/test/runner/BUILD index 1f45a6922..63c7ec83a 100644 --- a/test/runner/BUILD +++ b/test/runner/BUILD @@ -17,6 +17,7 @@ go_binary( "//test/runner/gtest", "//test/uds", "@com_github_opencontainers_runtime_spec//specs-go:go_default_library", + "@com_github_syndtr_gocapability//capability:go_default_library", "@org_golang_x_sys//unix:go_default_library", ], ) |