Merge "Bugfix:The scenario status roported to mongodb is not right"
authorliang gao <jean.gaoliang@huawei.com>
Tue, 30 Aug 2016 00:41:31 +0000 (00:41 +0000)
committerGerrit Code Review <gerrit@172.30.200.206>
Tue, 30 Aug 2016 00:41:31 +0000 (00:41 +0000)
tests/ci/yardstick-verify

index eafadf9..859c92c 100755 (executable)
@@ -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