summaryrefslogtreecommitdiffstats
path: root/jjb/functest
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-06-11 17:37:15 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-06-11 18:28:08 +0200
commitc302b20ec4772d04488ab2ff325a8fdeb67d3a36 (patch)
tree294d551735dbddbd15fea5a294ce9aaca1330f48 /jjb/functest
parent2a32f9cd7a843c6af8486f49a9d5833e5b6726c2 (diff)
Remove obsolete iptable rules
It simply breaks parallel testing and seems useless/deprecated. Change-Id: I7dafa65f4acfdabb089cf0e10c66d5eb632500c6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'jjb/functest')
-rwxr-xr-xjjb/functest/functest-alpine.sh5
1 files changed, 0 insertions, 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"