summaryrefslogtreecommitdiffhomepage
path: root/scripts/iptables_tests.sh
diff options
context:
space:
mode:
authorKevin Krakauer <krakauer@google.com>2020-03-09 17:40:13 -0700
committerKevin Krakauer <krakauer@google.com>2020-03-11 15:13:58 -0700
commit4054b021f05cb0902e9877ba82403978fd8d6405 (patch)
tree7adaf8ac303dc934ab8dcedb970192438af25f34 /scripts/iptables_tests.sh
parentfd84cddab0dc175d5050e2ac46f8520f632d1550 (diff)
iptables: ready tests to be enabled in kokoro
Fixed flakes (tested via --runs_per_test=100) and added skips for not-yet-implemented features. Once submitted, the iptables tests will be ready to enable in kokoro.
Diffstat (limited to 'scripts/iptables_tests.sh')
-rwxr-xr-xscripts/iptables_tests.sh11
1 files changed, 7 insertions, 4 deletions
diff --git a/scripts/iptables_tests.sh b/scripts/iptables_tests.sh
index 3069d8628..b4a5211a5 100755
--- a/scripts/iptables_tests.sh
+++ b/scripts/iptables_tests.sh
@@ -19,9 +19,12 @@ source $(dirname $0)/common.sh
install_runsc_for_test iptables
# Build the docker image for the test.
-run //test/iptables/runner-image --norun
+run //test/iptables/runner: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 //test/iptables:iptables_test \
+ "--test_arg=--runtime=runc" \
+ "--test_arg=--image=bazel/test/iptables/runner:runner-image"
+
+test //test/iptables:iptables_test \
+ "--test_arg=--runtime=runsc" \
"--test_arg=--image=bazel/test/iptables/runner:runner-image"