Re-enabling execution of tempest tests 05/58005/1
authorGeorg Kunz <georg.kunz@ericsson.com>
Mon, 28 May 2018 22:58:08 +0000 (00:58 +0200)
committerGeorg Kunz <georg.kunz@ericsson.com>
Mon, 28 May 2018 22:58:08 +0000 (00:58 +0200)
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>
sdnvpn/test/functest/run_tempest.py

index e27fce4..68045fa 100644 (file)
@@ -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()