aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ci
diff options
context:
space:
mode:
authorliang gao <jean.gaoliang@huawei.com>2016-08-30 00:41:31 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-08-30 00:41:31 +0000
commit3f52807e048c88eee791f86fd8f5dc277675f3f3 (patch)
tree564298bcbe4eec7dad1a1bc261df88297e0a6dc0 /tests/ci
parent27e254c2273e4be503053db882948b8abf53b269 (diff)
parentaba7a13a9060bfb789348bc0f0931c6faebbf0ee (diff)
Merge "Bugfix:The scenario status roported to mongodb is not right"
Diffstat (limited to 'tests/ci')
-rwxr-xr-xtests/ci/yardstick-verify5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/ci/yardstick-verify b/tests/ci/yardstick-verify
index eafadf987..859c92c94 100755
--- a/tests/ci/yardstick-verify
+++ b/tests/ci/yardstick-verify
@@ -313,7 +313,7 @@ EOF
- local sceanrio_status="SUCCESS"
+ local scenario_status="SUCCESS"
if [ $failed -gt 0 ]; then
scenario_status="FAILED"
@@ -327,8 +327,9 @@ EOF
\"scenario\":\"${DEPLOY_SCENARIO}\",
\"description\": \"yardstick ci scenario status\",
\"start_date\":\"${start_date}\",
+ \"criteria\":\"${scenario_status}\",
\"stop_date\":\"${stop_date}\",
- \"details\":\"${sceanrio_status}\"}" \
+ \"details\":\"\"}" \
${DISPATCHER_HTTP_TARGET}
if [ $failed -gt 0 ]; then