summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Kunz <georg.kunz@ericsson.com>2018-05-29 00:58:08 +0200
committerPeriyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>2018-05-30 07:46:45 +0000
commite4a20909b2b80691a38e66b54f8c588199ffe4e0 (patch)
treef5401a41e53ca71f973b91662365498f00e1423e
parent352c59535785950f9af57838ceaced3b040ca238 (diff)
Re-enabling execution of tempest tests
My previous patch broke the execution of tempest tests, causing tempest to complain about a missing .testr.conf file. This fix adds the explicit use of the --config-file CLI flag back to the tempest test framework. Change-Id: If65c65a227f0058180e0d5bca47cce502948c4c9 Signed-off-by: Georg Kunz <georg.kunz@ericsson.com> (cherry picked from commit 1fc59dc868766cc845ecf2a2b7f1fef853d2d7e5)
-rw-r--r--sdnvpn/test/functest/run_tempest.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sdnvpn/test/functest/run_tempest.py b/sdnvpn/test/functest/run_tempest.py
index e27fce4..68045fa 100644
--- a/sdnvpn/test/functest/run_tempest.py
+++ b/sdnvpn/test/functest/run_tempest.py
@@ -55,7 +55,8 @@ def main():
logger.info("Configuring default tempest conf file")
os.popen(cmd)
- cmd_line = "tempest run -t --regex networking_bgpvpn_tempest"
+ cmd_line = "tempest run -t --regex networking_bgpvpn_tempest " \
+ "--config-file /etc/tempest/tempest.conf"
logger.info("Executing: %s" % cmd_line)
cmd = os.popen(cmd_line)
output = cmd.read()