From 4f374da60cb0c39ed862518e5b7524cb86ec96db Mon Sep 17 00:00:00 2001 From: Kevin Krakauer Date: Wed, 25 Mar 2020 18:55:19 -0700 Subject: iptable: fix tests timeouts Tests were run assuming a runtime of "runsc" was present, and did not have --net-raw enabled. --- scripts/iptables_tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') 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" -- cgit v1.2.3