From c302b20ec4772d04488ab2ff325a8fdeb67d3a36 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Mon, 11 Jun 2018 17:37:15 +0200 Subject: Remove obsolete iptable rules MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It simply breaks parallel testing and seems useless/deprecated. Change-Id: I7dafa65f4acfdabb089cf0e10c66d5eb632500c6 Signed-off-by: Cédric Ollivier --- jjb/functest/functest-alpine.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/jjb/functest/functest-alpine.sh b/jjb/functest/functest-alpine.sh index 392f192cc..24a28c69f 100755 --- a/jjb/functest/functest-alpine.sh +++ b/jjb/functest/functest-alpine.sh @@ -109,11 +109,6 @@ fi rc_file_vol="-v ${rc_file}:${FUNCTEST_DIR}/conf/env_file" -# Set iptables rule to allow forwarding return traffic for container -if ! sudo iptables -C FORWARD -j RETURN 2> ${redirect} || ! sudo iptables -L FORWARD | awk 'NR==3' | grep RETURN 2> ${redirect}; then - sudo iptables -I FORWARD -j RETURN -fi - echo "Functest: Start Docker and prepare environment" echo "Functest: Download images that will be used by test cases" -- cgit 1.2.3-korg