mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Allow trace tests to run remotely
PiperOrigin-RevId: 485999272
This commit is contained in:
committed by
gVisor bot
parent
1497cdffce
commit
943eb50b0a
@@ -11,9 +11,6 @@ go_test(
|
||||
"//test/trace/workload",
|
||||
],
|
||||
library = ":trace",
|
||||
tags = [
|
||||
"local",
|
||||
],
|
||||
deps = [
|
||||
"//pkg/sentry/seccheck",
|
||||
"//pkg/sentry/seccheck/points:points_go_proto",
|
||||
|
||||
@@ -75,8 +75,8 @@ func TestAll(t *testing.T) {
|
||||
cutoffTime = time.Now()
|
||||
cmd := exec.Command(
|
||||
runsc,
|
||||
"--debug", "--alsologtostderr", // Debug logging for troubleshooting
|
||||
"--rootless", "--network=none", // Disable features that we don't care
|
||||
"--debug", "--strace", "--alsologtostderr", // Debug logging for troubleshooting
|
||||
"--rootless", "--network=none", "--TESTONLY-unsafe-nonroot", // Disable features that we don't care
|
||||
"--pod-init-config", cfgFile.Name(),
|
||||
"do", workload)
|
||||
out, err := cmd.CombinedOutput()
|
||||
|
||||
Reference in New Issue
Block a user