From 8f3ad08c40bd8977651794f6720eda5df61b0c26 Mon Sep 17 00:00:00 2001 From: "jose.lausuch" Date: Mon, 1 Aug 2016 17:00:24 +0200 Subject: [PATCH] Fix missing directory when calling bgpvpn tests Change-Id: Ic9f6b9592202c3bed9d6835eeea7c14971e1c01f Signed-off-by: jose.lausuch --- ci/exec_test.sh | 1 + testcases/OpenStack/tempest/run_tempest.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ci/exec_test.sh b/ci/exec_test.sh index cd5ae1822..2ef714d56 100755 --- a/ci/exec_test.sh +++ b/ci/exec_test.sh @@ -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") diff --git a/testcases/OpenStack/tempest/run_tempest.py b/testcases/OpenStack/tempest/run_tempest.py index 8d23b7415..3ee10b782 100755 --- a/testcases/OpenStack/tempest/run_tempest.py +++ b/testcases/OpenStack/tempest/run_tempest.py @@ -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): -- 2.16.6