summaryrefslogtreecommitdiffstats
path: root/tests/ci/yardstick-verify
diff options
context:
space:
mode:
authorrexlee8776 <limingjiang@huawei.com>2016-08-27 01:00:31 +0000
committerliang gao <jean.gaoliang@huawei.com>2016-08-30 15:44:53 +0000
commit85cf470f5b1c201d83ddb03289f3e837a00b76fe (patch)
tree564298bcbe4eec7dad1a1bc261df88297e0a6dc0 /tests/ci/yardstick-verify
parent27e254c2273e4be503053db882948b8abf53b269 (diff)
Bugfix:The scenario status roported to mongodb is not right
JIRA: YARDSTICK-323 Change-Id: I22f4144151e2df753af3e875af015318568bbc09 Signed-off-by: rexlee8776 <limingjiang@huawei.com> (cherry picked from commit aba7a13a9060bfb789348bc0f0931c6faebbf0ee)
Diffstat (limited to 'tests/ci/yardstick-verify')
-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