diff --git a/neutron_vpnaas/tests/contrib/post_test_hook.sh b/neutron_vpnaas/tests/contrib/post_test_hook.sh index f56164332..1759fa1a9 100755 --- a/neutron_vpnaas/tests/contrib/post_test_hook.sh +++ b/neutron_vpnaas/tests/contrib/post_test_hook.sh @@ -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