iptable: fix tests timeouts

Tests were run assuming a runtime of "runsc" was present, and did not
have --net-raw enabled.
This commit is contained in:
Kevin Krakauer
2020-03-25 20:37:48 -07:00
parent ce0a69ea97
commit 4f374da60c
+2 -2
View File
@@ -16,7 +16,7 @@
source $(dirname $0)/common.sh
install_runsc_for_test iptables
install_runsc_for_test iptables --net-raw
# Build the docker image for the test.
run //test/iptables/runner:runner-image --norun
@@ -26,5 +26,5 @@ test //test/iptables:iptables_test \
"--test_arg=--image=bazel/test/iptables/runner:runner-image"
test //test/iptables:iptables_test \
"--test_arg=--runtime=runsc" \
"--test_arg=--runtime=${RUNTIME}" \
"--test_arg=--image=bazel/test/iptables/runner:runner-image"