bugfix: testapi is killed because of oom_kill 11/39411/3
authorSerenaFeng <feng.xiaowei@zte.com.cn>
Wed, 16 Aug 2017 09:12:14 +0000 (17:12 +0800)
committerSerenaFeng <feng.xiaowei@zte.com.cn>
Wed, 16 Aug 2017 09:53:22 +0000 (17:53 +0800)
commit02a7345647ee4628044c1a4acfa6f110ce34fbd5
treede47f7c6cae909dead8d2b63c5a01025b36ac1d8
parent1cd617569905214aab22edb383c036d9922d9a27
bugfix: testapi is killed because of oom_kill

if page is not provided, return page 1 to avoid large memory consume,
further more to kill testapi:

Out of memory: Kill process 30842 (opnfv-testapi) score 519 or sacrifice child
Killed process 30842 (opnfv-testapi) total-vm:4739716kB, anon-rss:3974612kB, file-rss:0kB

JIRA: RELENG-291

Change-Id: Id0e144c030aee390cc41cff8a48e3c997de4ad84
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
utils/test/testapi/opnfv_testapi/resources/handlers.py
utils/test/testapi/opnfv_testapi/resources/result_handlers.py