diff options
author | chenjiankun <chenjiankun1@huawei.com> | 2017-07-31 03:33:00 +0000 |
---|---|---|
committer | chenjiankun <chenjiankun1@huawei.com> | 2017-07-31 03:33:00 +0000 |
commit | 6ed2d4867210165fefb8aaabf18dc91b1896064d (patch) | |
tree | 308ac5db4fc462e0d849229d7e07778887fd4b99 /samples | |
parent | 5abe4fe013a14c528bfb1e0ff4c8bcb9b8817551 (diff) |
Bugfix: yardstick always report 'PASS' to DB
JIRA: YARDSTICK-768
Now yardstick will not stop if test case failed,
so that we can run the rest test case in the suite.
CI judge task status by the cmd return code. In this way,
the 'yardstick task start' cmd will always return 0.
So we will always report 'PASS' to DB.
In this patch I add a judgement in cmd, if the status is not 'PASS', we
will raise a RuntimeError.
Change-Id: I655424dd9cd3782869986963a17b24acfb340345
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions