mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
d6b676ae6a
... 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
24 lines
583 B
Python
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",
|
|
],
|
|
)
|