summaryrefslogtreecommitdiffstats
path: root/testcases
diff options
context:
space:
mode:
Diffstat (limited to 'testcases')
-rwxr-xr-xtestcases/features/copper.py1
-rwxr-xr-xtestcases/features/doctor.py1
-rwxr-xr-xtestcases/features/domino.py1
-rwxr-xr-xtestcases/features/promise.py1
-rwxr-xr-xtestcases/features/sfc/sfc.py5
-rwxr-xr-xtestcases/vnf/vRNC/parser.py1
6 files changed, 5 insertions, 5 deletions
diff --git a/testcases/features/copper.py b/testcases/features/copper.py
index c312643eb..c79754a1b 100755
--- a/testcases/features/copper.py
+++ b/testcases/features/copper.py
@@ -32,7 +32,6 @@ with open(os.environ["CONFIG_FUNCTEST_YAML"]) as f:
functest_yaml = yaml.safe_load(f)
dirs = functest_yaml.get('general').get('directories')
-FUNCTEST_REPO = dirs.get('dir_repo_functest')
COPPER_REPO = dirs.get('dir_repo_copper')
logger = ft_logger.Logger("copper").getLogger()
diff --git a/testcases/features/doctor.py b/testcases/features/doctor.py
index 154cfc695..02edd25ca 100755
--- a/testcases/features/doctor.py
+++ b/testcases/features/doctor.py
@@ -31,7 +31,6 @@ with open(os.environ["CONFIG_FUNCTEST_YAML"]) as f:
functest_yaml = yaml.safe_load(f)
dirs = functest_yaml.get('general').get('directories')
-FUNCTEST_REPO = dirs.get('dir_repo_functest')
DOCTOR_REPO = dirs.get('dir_repo_doctor')
logger = ft_logger.Logger("doctor").getLogger()
diff --git a/testcases/features/domino.py b/testcases/features/domino.py
index 03ad4a2af..291a3b49b 100755
--- a/testcases/features/domino.py
+++ b/testcases/features/domino.py
@@ -33,7 +33,6 @@ with open(os.environ["CONFIG_FUNCTEST_YAML"]) as f:
functest_yaml = yaml.safe_load(f)
dirs = functest_yaml.get('general').get('directories')
-FUNCTEST_REPO = dirs.get('dir_repo_functest')
DOMINO_REPO = dirs.get('dir_repo_domino')
logger = ft_logger.Logger("domino").getLogger()
diff --git a/testcases/features/promise.py b/testcases/features/promise.py
index f5db02617..3728adfe5 100755
--- a/testcases/features/promise.py
+++ b/testcases/features/promise.py
@@ -36,7 +36,6 @@ with open(os.environ["CONFIG_FUNCTEST_YAML"]) as f:
functest_yaml = yaml.safe_load(f)
dirs = functest_yaml.get('general').get('directories')
-FUNCTEST_REPO = dirs.get('dir_repo_functest')
PROMISE_REPO = dirs.get('dir_repo_promise')
TEST_DB = functest_yaml.get('results').get('test_db_url')
diff --git a/testcases/features/sfc/sfc.py b/testcases/features/sfc/sfc.py
index f8af51060..3cf1052b6 100755
--- a/testcases/features/sfc/sfc.py
+++ b/testcases/features/sfc/sfc.py
@@ -238,6 +238,11 @@ def main():
except:
logger.debug("Problems assigning floating IP to SFs")
+ # If no IPs were obtained, then we cant continue
+ if not ips:
+ logger.error('Failed to obtain IPs, cant continue, exiting')
+ return
+
logger.debug("Floating IPs for SFs: %s..." % ips)
# SSH TO START THE VXLAN_TOOL ON SF1
diff --git a/testcases/vnf/vRNC/parser.py b/testcases/vnf/vRNC/parser.py
index 40d28c49f..00593b0b0 100755
--- a/testcases/vnf/vRNC/parser.py
+++ b/testcases/vnf/vRNC/parser.py
@@ -32,7 +32,6 @@ with open(os.environ["CONFIG_FUNCTEST_YAML"]) as f:
functest_yaml = yaml.safe_load(f)
dirs = functest_yaml.get('general').get('directories')
-FUNCTEST_REPO = dirs.get('dir_repo_functest')
PARSER_REPO = dirs.get('dir_repo_parser')
logger = ft_logger.Logger("parser").getLogger()