summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKevin Krakauer <krakauer@google.com>2020-03-25 18:55:19 -0700
committerKevin Krakauer <krakauer@google.com>2020-03-25 20:37:48 -0700
commit4f374da60cb0c39ed862518e5b7524cb86ec96db (patch)
tree3dfb8d855334a8115fa3043c374a76d81d8fa6e6
parentce0a69ea975209d96317d70096c9cb5584ae7e54 (diff)
iptable: fix tests timeouts
Tests were run assuming a runtime of "runsc" was present, and did not have --net-raw enabled.
-rwxr-xr-xscripts/iptables_tests.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/iptables_tests.sh b/scripts/iptables_tests.sh
index b4a5211a5..0f46909ac 100755
--- a/scripts/iptables_tests.sh
+++ b/scripts/iptables_tests.sh
@@ -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"