Fix iptables tests that were broken by rename.

The name of the runner binary target changed from "runner" to "runner-image",
causing iptables tests to fail.

PiperOrigin-RevId: 292242263
This commit is contained in:
Kevin Krakauer 2020-01-29 16:26:28 -08:00 committed by gVisor bot
parent 51b783505b
commit 0ade523f06
3 changed files with 4 additions and 4 deletions

View File

@ -19,9 +19,9 @@ source $(dirname $0)/common.sh
install_runsc_for_test iptables
# Build the docker image for the test.
run //test/iptables/runner --norun
run //test/iptables/runner-image --norun
# TODO(gvisor.dev/issue/170): Also test this on runsc once iptables are better
# supported
test //test/iptables:iptables_test "--test_arg=--runtime=runc" \
"--test_arg=--image=bazel/test/iptables/runner:runner"
"--test_arg=--image=bazel/test/iptables/runner:runner-image"

View File

@ -28,7 +28,7 @@ Your test is now runnable with bazel!
Build the testing Docker container:
```bash
$ bazel run //test/iptables/runner -- --norun
$ bazel run //test/iptables/runner-image -- --norun
```
Run an individual test via:

View File

@ -30,7 +30,7 @@ import (
const timeout = 18 * time.Second
var image = flag.String("image", "bazel/test/iptables/runner:runner", "image to run tests in")
var image = flag.String("image", "bazel/test/iptables/runner:runner-image", "image to run tests in")
type result struct {
output string