Add sla check in rally task

The current rally job is always execute report command at the end,
and it always succeeds regardless of the rally task result.
Since the values.yaml in the rally chart already includes sla check,
you should execute sla-check command at the end of the job
so that you can check whether the test has passed or not.

Change-Id: I4c91950b86622b1211aea3e9e908cb04711c0e76
This commit is contained in:
Jaesang Lee 2018-07-05 04:58:24 +00:00
parent d2434c26bd
commit b18129c73c
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ function run_rally () {
rally task start /tasks/rally/${CURRENT_TEST}.yaml
rally task list
rally task report --out /var/lib/rally/data/${CURRENT_TEST}.html
rally task sla-check
}