Allow trace tests to run remotely

PiperOrigin-RevId: 485999272
This commit is contained in:
Fabricio Voznika
2022-11-03 16:12:08 -07:00
committed by gVisor bot
parent 1497cdffce
commit 943eb50b0a
2 changed files with 2 additions and 5 deletions
-3
View File
@@ -11,9 +11,6 @@ go_test(
"//test/trace/workload",
],
library = ":trace",
tags = [
"local",
],
deps = [
"//pkg/sentry/seccheck",
"//pkg/sentry/seccheck/points:points_go_proto",
+2 -2
View File
@@ -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()