Skip to content

Commit

Permalink
ci: ensure that ipv6_tests only runs IPv6 tests. (envoyproxy#5140)
Browse files Browse the repository at this point in the history
There was a Docker environment scripting bug resulting in both IPv4 & IPv6 tests being run before
for CircleCI's ipv6_tests job.

This PR fixes this and might improve envoyproxy#5104. I was unable to reproduce envoyproxy#5104 locally or on Google's
build farm, so I think this might have something to do with very specific IPv4/IPv6 interaction.

Risk Level: Low
Testing: Via this PR's CI runs.

Signed-off-by: Harvey Tuch <[email protected]>
  • Loading branch information
htuch authored Nov 28, 2018
1 parent a580a67 commit e185a64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion ci/do_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ elif [[ "$1" == "bazel.ipv6_tests" ]]; then
setup_clang_toolchain
echo "Testing..."
cd "${ENVOY_CI_DIR}"
bazel test ${BAZEL_TEST_OPTIONS} -c fastbuild //test/integration/... //test/common/network/...
bazel test ${BAZEL_TEST_OPTIONS} --test_env=ENVOY_IP_TEST_VERSIONS=v6only -c fastbuild \
//test/integration/... //test/common/network/...
exit 0
elif [[ "$1" == "bazel.api" ]]; then
setup_clang_toolchain
Expand Down
2 changes: 0 additions & 2 deletions ci/do_circle_ci_ipv6_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ export ENVOY_BUILD_DIR=/tmp/envoy-docker

export TEST_TYPE="bazel.ipv6_tests"

export BAZEL_EXTRA_TEST_OPTIONS="--test_env=ENVOY_IP_TEST_VERSIONS=v6only"

function finish {
echo "disk space at end of build:"
df -h
Expand Down

0 comments on commit e185a64

Please sign in to comment.