summaryrefslogtreecommitdiffstats
path: root/restful_server/qtip_server.py
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2016-10-07 08:54:23 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-10-07 08:54:23 +0000
commita5ec8f76b940183ba78f7086c0bb20053422dc67 (patch)
treea43c00275754224239eeca91fc62bd8df058b5e4 /restful_server/qtip_server.py
parent65aa5a6ba57e43e8bb2dce569426c41f58e091e6 (diff)
parentf43d5b6706c547770917fd879804d08b36f6912b (diff)
Merge "Correct spelling error in function name"
Diffstat (limited to 'restful_server/qtip_server.py')
-rw-r--r--restful_server/qtip_server.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/restful_server/qtip_server.py b/restful_server/qtip_server.py
index 04d4f9ee..81ce941e 100644
--- a/restful_server/qtip_server.py
+++ b/restful_server/qtip_server.py
@@ -162,14 +162,14 @@ default is 'compute'
for benchmark in benchmarks_list:
if db.is_job_timeout(job_id) or stop_event.is_set():
break
- db.update_benmark_state_in_state_detail(job_id, benchmark, 'processing')
+ db.update_benchmark_state(job_id, benchmark, 'processing')
result = args_handler.prepare_and_run_benchmark(installer_type,
'/home',
args_handler.get_benchmark_path(pod_name,
suite_name,
benchmark))
db.update_job_result_detail(job_id, benchmark, copy(result))
- db.update_benmark_state_in_state_detail(job_id, benchmark, 'finished')
+ db.update_benchmark_state(job_id, benchmark, 'finished')
db.finish_job(job_id)