Fix missing directory when calling bgpvpn tests 83/17883/1
authorjose.lausuch <jose.lausuch@ericsson.com>
Mon, 1 Aug 2016 15:00:24 +0000 (17:00 +0200)
committerjose.lausuch <jose.lausuch@ericsson.com>
Mon, 1 Aug 2016 15:00:24 +0000 (17:00 +0200)
Change-Id: Ic9f6b9592202c3bed9d6835eeea7c14971e1c01f
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
ci/exec_test.sh
testcases/OpenStack/tempest/run_tempest.py

index cd5ae18..2ef714d 100755 (executable)
@@ -116,6 +116,7 @@ function run_test(){
                 $clean_flag --sanity all $report
         ;;
         "bgpvpn")
+            sdnvpn_repo_dir=${repos_dir}/sdnvpn/test/functest/
             python ${sdnvpn_repo_dir}/run_tests.py $report
         ;;
         "onos")
index 8d23b74..3ee10b7 100755 (executable)
@@ -21,11 +21,11 @@ import shutil
 import subprocess
 import sys
 import time
-import yaml
 
 import functest.utils.functest_logger as ft_logger
 import functest.utils.functest_utils as ft_utils
 import functest.utils.openstack_utils as os_utils
+import yaml
 
 
 modes = ['full', 'smoke', 'baremetal', 'compute', 'data_processing',
@@ -341,7 +341,7 @@ def apply_tempest_blacklist():
             black_list_yaml = yaml.safe_load(black_list_file)
             black_list_file.close()
             for item in black_list_yaml:
-                scenarios = item['sceanrios']
+                scenarios = item['scenarios']
                 installers = item['installers']
                 if (deploy_scenario in scenarios and
                         installer_type in installers):