aboutsummaryrefslogtreecommitdiffstats
path: root/tests/qtip_server_test.py
AgeCommit message (Collapse)AuthorFilesLines
2016-11-21Architecture evolution skeletonYujun Zhang1-117/+0
- benchmarks will be driven by qtip.runner - qtip.runner is used by both qtip.cli and qtip.api - unit test for each module will be placed under tests/unit - functional tests will be moved to tests/functional - data as testing sample will be moved to tests/data NOTE: this patch moves files only, it may fails many tests. To be followed up in next step. JIRA: QTIP-148 Change-Id: I27e8169a74783970a1f7818456eb76a7311fb60c Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-11-16Bugfix: Correct the path in unit test.zhifeng.jiang1-3/+3
Change-Id: I2e019230bc50222222c5df4c0d18640616fff074 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-10-14Unit test bugfix: Remove the zte-pod1 in unit test.zhifeng.jiang1-2/+2
Change-Id: I5e8be7d22800f67e475660fa1a557af62e8c9b1f Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-10-10Add testdb url and node_name in post parameters of restful serverzhifeng.jiang1-1/+7
JIRA:QTIP-99 Change-Id: I67f56eafba48ca096570674f5de2ff5aeb935d16 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-10-08Merge "Add benchmark name in post request parameters"Yujun Zhang1-6/+3
2016-10-07Rename 'max-minutes' to 'max_minutes'Yujun Zhang1-3/+3
The naming style of query param should be consistent Change-Id: Ifb9bb3ecfbbf8caee7a00d3968a627c35d965bcb Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-10-07Add benchmark name in post request parameterszhifeng.jiang1-6/+3
Change-Id: I53974789d59f316afa72fb753397baa45247e64c Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-09-28Start restful server auto in dockerzhifeng.jiang1-2/+19
modification: Add start restful server in dockerfile Add result and detail_result in server job status Add job result assert in unit test JIRA:QTIP-99 Change-Id: I27108eb930eba1bb72c04216f468a81202179ee0 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-09-20Run benchmark test in restful server post apizhifeng.jiang1-18/+37
modification: Call ansible async in restful server post api Set the job state 'finished' when finish benchmark test Terminate the next benchmark in restful server delete api job result will be in next commit JIRA:QTIP-97 Change-Id: I252482dddd9b35ba33f992e8ea19037d8919fad6 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-08-23Add some state change functions in db.py.zhifeng.jiang1-3/+3
modification: Add some functions in db.py Unit test will be added after functions called by restful server. Rename 'deadline' to 'max-minutes' JIRA:QTIP-99 Change-Id: I74ed93df3f2dd91fa154fa0fcb52605983ee2719 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-08-13Add restful server API in QTIP which can be called by Yardstick.zhifeng.jiang1-0/+78
modification: Add restful server API. Include needed packages in requirement file. Add unit tests for restful server api. JIRA:QTIP-97 Change-Id: I5306d5dd76ee818fef46d0e7b7392f2df2982552 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>