bugfix: mix order of Arno results
authorSerenaFeng <feng.xiaowei@zte.com.cn>
Tue, 18 Jul 2017 07:52:28 +0000 (15:52 +0800)
committerSerenaFeng <feng.xiaowei@zte.com.cn>
Wed, 19 Jul 2017 02:09:51 +0000 (10:09 +0800)
commit1e7205a12171f0ad81391b56ffe1b2fe29e2bb6a
tree8e21ee0bad7b79122a78d2add047572c6e4edb61
parentbba00ca773c4851de91ab19d34859b930b9e1960
bugfix: mix order of Arno results

because start_date is not always in the same format or timezone,
sort by start_date will be misordered some times, in this patch
leverage '_id' to do the sort, it is generated by mongodb itself,
always upscend.

JIRA: FUNCTEST-694
JIRA: RELENG-213

Change-Id: Ie0ed5cd09c3f7abb1803d72abe5ecab440c1569c
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
testapi/opnfv_testapi/resources/result_handlers.py
testapi/opnfv_testapi/tests/unit/resources/test_result.py