summaryrefslogtreecommitdiffstats
path: root/testcases/VIM/OpenStack/CI/libraries
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2016-05-05 12:18:33 +0200
committerjose.lausuch <jose.lausuch@ericsson.com>2016-05-05 12:36:13 +0200
commit577356cf5d86c9476de496a5dda98ef2b4e5e2c5 (patch)
treeedf1a2fcd018b630fef234118070c5b7ba375642 /testcases/VIM/OpenStack/CI/libraries
parentcd42c5ba41d08ed6d378aa78ccdabbb51569f739 (diff)
Fix bug config_functest.yaml location
Change-Id: I3b28eb7015f6f1418ef04ca91103e313f71f74e3 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'testcases/VIM/OpenStack/CI/libraries')
-rw-r--r--testcases/VIM/OpenStack/CI/libraries/run_tempest.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/testcases/VIM/OpenStack/CI/libraries/run_tempest.py b/testcases/VIM/OpenStack/CI/libraries/run_tempest.py
index 4b1f0ffae..02d9b331a 100644
--- a/testcases/VIM/OpenStack/CI/libraries/run_tempest.py
+++ b/testcases/VIM/OpenStack/CI/libraries/run_tempest.py
@@ -20,6 +20,7 @@ import re
import requests
import shutil
import subprocess
+import sys
import time
import yaml
import ConfigParser
@@ -212,6 +213,7 @@ def configure_tempest(mode):
private_net = os_utils.get_private_net(neutron_client)
if private_net is None:
logger.error("No shared private networks found.")
+ sys.exit(1)
else:
private_net_name = private_net['name']
config.set('compute', 'fixed_network_name', private_net_name)