Skip to content

Commit

Permalink
travis: Workaround skipping of IPv6 tests.
Browse files Browse the repository at this point in the history
IPv6 support disabled in TravisCI images but supported by kernel.
So, we could enable it in order to not skip unit tests.
We are not trying to communicate over network with IPv6, so this
should not make any harm.

Related issue: travis-ci/travis-ci#8891

Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
  • Loading branch information
igsilya committed Nov 1, 2019
1 parent 3e613cd commit 5ae6f97
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis/linux-prepare.sh
Expand Up @@ -20,3 +20,8 @@ if [ "$M32" ]; then
# This will remove the 64-bit libunwind and install 32-bit version.
sudo apt-get install -y libunwind-dev:i386
fi

# IPv6 is supported by kernel but disabled in TravisCI images:
# https://github.com/travis-ci/travis-ci/issues/8891
# Enable it to avoid skipping of IPv6 related tests.
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0

0 comments on commit 5ae6f97

Please sign in to comment.