summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorNikolas Hermanns <nikolas.hermanns@ericsson.com>2016-04-15 13:19:39 +0200
committerNikolas Hermanns <nikolas.hermanns@ericsson.com>2016-04-15 12:14:13 +0000
commit3d430889ce6ad6d7cf5435d3bcbc248d3cb04e32 (patch)
tree6d82ff5b5dedb86b5f1106177f6025df6a04b153 /docker
parente028786999a46c1406b0ab105ed5cff3c390d290 (diff)
[BGPVPN] Use system wide installation of tempest
Since rally setup tempest system-wide now we do not integrate with the virtual env of tempest anymore. Change-Id: Ia5f132371c4eb0b67ac84bf044b349480195f633 (cherry picked from commit 8e2969f2137764a4a1b27d01d82b4d9babcdc519)
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/run_tests.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/docker/run_tests.sh b/docker/run_tests.sh
index ff0f1bfd8..8647d072b 100755
--- a/docker/run_tests.sh
+++ b/docker/run_tests.sh
@@ -145,6 +145,9 @@ function run_test(){
;;
"bgpvpn")
info "Running BGPVPN Tempest test case..."
+ pushd ${repos_dir}/bgpvpn/
+ pip install --no-deps -e .
+ popd
tempest_dir=$(ls -t /home/opnfv/.rally/tempest/ |grep for-deploy |tail -1)
if [[ $tempest_dir == "" ]]; then
echo "Make sure tempest was running before"
@@ -152,15 +155,14 @@ function run_test(){
fi
tempest_dir=/home/opnfv/.rally/tempest/$tempest_dir
pushd $tempest_dir
- . .venv/bin/activate
- pip install --no-deps -e ~/repos/bgpvpn/.
mkdir -p /etc/tempest/
cp tempest.conf /etc/tempest/
echo "[service_available]
bgpvpn = True" >> /etc/tempest/tempest.conf
- ./run_tempest.sh -- networking_bgpvpn_tempest
+ ./run_tempest.sh -t -N -- networking_bgpvpn_tempest
rm -rf /etc/tempest/tempest.conf
popd
+ clean_openstack
;;
"onos")
info "Running ONOS test case..."