Files
gvisor/test/runner/BUILD
T
Andrei Vagin d6b676ae6a 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
2020-07-25 01:04:45 -07:00

24 lines
583 B
Python

load("//tools:defs.bzl", "go_binary")
package(licenses = ["notice"])
go_binary(
name = "runner",
testonly = 1,
srcs = ["runner.go"],
data = [
"//runsc",
],
visibility = ["//:sandbox"],
deps = [
"//pkg/log",
"//pkg/test/testutil",
"//runsc/specutils",
"//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",
],
)