summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorvitikkan <viktor.tikkanen@nokia.com>2016-05-16 08:05:45 +0300
committervitikkan <viktor.tikkanen@nokia.com>2016-05-16 08:28:11 +0300
commit9bdb8955ba266abc34e1ab069ad0ee013dcf57ba (patch)
tree573772f8a5961bda3cbdd1d2a0fec4aa9cac0186 /ci
parent24165377a66c8aeab28872cbc281b863092e1237 (diff)
BGPVPN test case refactored
BGPVPN test case is refactored and moved into bgpvpn.py module. JIRA: FUNCTEST-234 Change-Id: Ib0dd6e11f3c568470d9c3837ca192da767c64843 Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
Diffstat (limited to 'ci')
-rwxr-xr-xci/exec_test.sh17
1 files changed, 1 insertions, 16 deletions
diff --git a/ci/exec_test.sh b/ci/exec_test.sh
index ae92e7fe9..e5f093b57 100755
--- a/ci/exec_test.sh
+++ b/ci/exec_test.sh
@@ -118,22 +118,7 @@ function run_test(){
$debug $clean_flag --sanity all $report
;;
"bgpvpn")
- 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" >&2
- fi
- tempest_dir=/home/opnfv/.rally/tempest/$tempest_dir
- pushd $tempest_dir
- mkdir -p /etc/tempest/
- cp tempest.conf /etc/tempest/
- echo "[service_available]
-bgpvpn = True" >> /etc/tempest/tempest.conf
- ./run_tempest.sh -t -N -- networking_bgpvpn_tempest
- rm -rf /etc/tempest/tempest.conf
- popd
+ python ${FUNCTEST_REPO_DIR}/testcases/features/bgpvpn.py
;;
"onos")
if [ "$INSTALLER_TYPE" == "joid" ]; then