40c004f987
This fixes the unit tests[1] that breaks with a randomized PYTHONHASHSEED (see the bug report). The test assumed that the execute_with_mount method[2] performs filesystem mounts in a particular order. Found with PYTHONHASHSEED=1. The fix refactors the test case to handle unsorted mounts. [1] neutron_vpnaas.tests.unit.services.vpn.common.test_netns_wrapper.\ TestNetnsWrapper.test_netns_wrap [2] neutron_vpnaas.services.vpn.common.netns_wrapper Partial-bug: #1348818 Note: There are several other unrelated unit tests that also break with a randomized PYTHONHASHSEED, but they are not addressed here. They will be addressed in separate patches. Change-Id: I164c477f32c6781e9974d4d13a4f91a15b99201c |
||
---|---|---|
doc/source | ||
etc | ||
neutron_vpnaas | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.pylintrc | ||
.testr.conf | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
TESTING.rst | ||
babel.cfg | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Welcome!
This package contains the code for the Neutron VPN as a Service (VPNaaS) service. This includes third-party drivers. This package requires Neutron to run.
External Resources:
The homepage for Neutron is: http://launchpad.net/neutron. Use this site for asking for help, and filing bugs. We use a single Launchpad page for all Neutron projects.
Code is available on git.openstack.org at: <http://git.openstack.org/cgit/openstack/neutron-vpnaas.
Please refer to Neutron documentation for more information: Neutron README.rst