aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJing Lu <lvjing5@huawei.com>2017-02-16 09:38:02 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-02-16 09:38:02 +0000
commite1f5deb4c48824eeed79d7664e9ae5fbc555cfff (patch)
tree08c630e05257557778104ee4b5a370bd79bd8826
parent369167b989da80b777e3c3f165f5965cca97bf0e (diff)
parent7cffcafa6af52866d8ea81655773902fda9ff7fe (diff)
Merge "Bugfix: report date format wrong when upload result data to mongoDB"
-rwxr-xr-xtests/ci/yardstick-verify10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/ci/yardstick-verify b/tests/ci/yardstick-verify
index f9d98a4da..575bdc821 100755
--- a/tests/ci/yardstick-verify
+++ b/tests/ci/yardstick-verify
@@ -146,11 +146,11 @@ report(){
\"version\":\"$(basename ${YARDSTICK_BRANCH})\",
\"scenario\":\"${DEPLOY_SCENARIO}\",
\"description\": \"yardstick ci scenario status\",
- \"criteria\":\"$1\",
- \"start_date\":\"$2\",
- \"stop_date\":\"$3\",
+ \"criteria\":\"${1}\",
+ \"start_date\":\"${2}\",
+ \"stop_date\":\"${3}\",
\"details\":\"\"}" \
- ${DISPATCHER_HTTP_TARGET}
+ "${DISPATCHER_HTTP_TARGET}"
}
run_test()
@@ -220,7 +220,7 @@ EOF
scenario_status="FAILED"
fi
- report $scenario_status $start_date $stop_date
+ report "${scenario_status}" "${start_date}" "${stop_date}"
if [ $failed -gt 0 ]; then
echo "---------------------------"