summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchenjiankun <chenjiankun1@huawei.com>2017-10-12 06:27:11 +0000
committerJack Chan <chenjiankun1@huawei.com>2017-10-12 09:09:21 +0000
commitc69a7153e498fb2cb6510d728d060f1f123e8dbd (patch)
tree146f8f4a099a5291ac69c3722af2fa1a526ae2fd
parent4e791018445af16c68ee0572935b16fd8819d5ec (diff)
Change 'SUCCESS' to 'PASS' when report to MongoDB
JIRA: YARDSTICK-822 To keep consistent with other testing project, we need to change 'SUCCESS' to 'PASS', 'FAILED' to 'FAIL'. Change-Id: I392e4dc6dd2e028cd43cba0d1bf8ee04618326d7 Signed-off-by: chenjiankun <chenjiankun1@huawei.com> (cherry picked from commit f4680c872fbb34816d809c41852740f5cb960fd1)
-rwxr-xr-xtests/ci/yardstick-verify4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ci/yardstick-verify b/tests/ci/yardstick-verify
index f3e7a49e3..d1174825f 100755
--- a/tests/ci/yardstick-verify
+++ b/tests/ci/yardstick-verify
@@ -209,10 +209,10 @@ EOF
- local scenario_status="SUCCESS"
+ local scenario_status="PASS"
if [ $failed -gt 0 ]; then
- scenario_status="FAILED"
+ scenario_status="FAIL"
fi
report "${scenario_status}" "${start_date}" "${stop_date}"