summaryrefslogtreecommitdiffstats
path: root/testcases/OpenStack/tempest
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-06-16 15:19:56 +0200
committerMorgan Richomme <morgan.richomme@orange.com>2016-06-16 15:19:56 +0200
commit5f93c5912753eb2d80077a77076015533dc16f6e (patch)
tree8f0c0520d1dd7e806f5a97db8c146bd7519fdc82 /testcases/OpenStack/tempest
parent6ecc6f14a3325895233f40e5193cb369c6aab914 (diff)
Align test names in DB and config file
JIRA: FUNCTEST-304 Change-Id: I98d3155beb1c5e49eda84b443df603c2630b4823 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'testcases/OpenStack/tempest')
-rw-r--r--testcases/OpenStack/tempest/run_tempest.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/testcases/OpenStack/tempest/run_tempest.py b/testcases/OpenStack/tempest/run_tempest.py
index f59ba5263..a16ba26f7 100644
--- a/testcases/OpenStack/tempest/run_tempest.py
+++ b/testcases/OpenStack/tempest/run_tempest.py
@@ -333,11 +333,16 @@ def run_tempest(OPTION):
"tests": int(num_tests), "failures": int(num_failures),
"errors": error_logs}
logger.info("Results: " + str(json_results))
- # TODO split Tempest smoke and full
+ # split Tempest smoke and full
+ if "smoke" in args.mode:
+ case_name = "tempest_smoke_serial"
+ else:
+ case_name = "tempest_full_parallel"
+
try:
ft_utils.push_results_to_db("functest",
- "Tempest",
- logger,
+ case_name,
+ None,
start_time,
stop_time,
status,