diff options
author | liang gao <jean.gaoliang@huawei.com> | 2016-08-30 00:41:31 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-08-30 00:41:31 +0000 |
commit | 3f52807e048c88eee791f86fd8f5dc277675f3f3 (patch) | |
tree | 564298bcbe4eec7dad1a1bc261df88297e0a6dc0 | |
parent | 27e254c2273e4be503053db882948b8abf53b269 (diff) | |
parent | aba7a13a9060bfb789348bc0f0931c6faebbf0ee (diff) |
Merge "Bugfix:The scenario status roported to mongodb is not right"
-rwxr-xr-x | tests/ci/yardstick-verify | 5 |
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 |