Ensure to install latest neutron from master

neutron-vpnaas-dsvm-functional-sswan job requires neutron master branch
but after neutron was added to g-r neutron queens is installed.
Ideally this can be handled by tox-siblings with zuulv3 native job,
but it requires several efforts. This commit tries a work-around
just to pass the current broken func test.

Change-Id: I91fa5222031ad129f7fdfba5bf1bcb09c6d196ac
This commit is contained in:
Akihiro Motoki 2018-03-20 19:25:56 +09:00 committed by Cao Xuan Hoang
parent c9a83e280f
commit ad0bea572a

View File

@ -32,6 +32,10 @@ case $VENV in
echo "Running neutron $VENV test suite"
set +e
sudo -H -u $owner $sudo_env tox -e $VENV --notest
# Development version of neutron is not installed from g-r.
# We need to install neutron master explicitly.
sudo -H -u $owner $sudo_env .tox/$VENV/bin/pip install -e ../neutron
sudo -H -u $owner $sudo_env tox -e $VENV
testr_exit_code=$?
set -e