aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorrexlee8776 <limingjiang@huawei.com>2016-08-27 01:00:31 +0000
committerrexlee8776 <limingjiang@huawei.com>2016-08-27 01:00:31 +0000
commitaba7a13a9060bfb789348bc0f0931c6faebbf0ee (patch)
treea2e620cb0076c4fa51233008b130f4e82252b185 /tests
parent0e9572495a707215f5e43a1b1f5c850b6f159e98 (diff)
Bugfix:The scenario status roported to mongodb is not right
JIRA: YARDSTICK-323 Change-Id: I22f4144151e2df753af3e875af015318568bbc09 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
Diffstat (limited to 'tests')
-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