diff options
author | zhifeng.jiang <jiang.zhifeng@zte.com.cn> | 2016-08-21 21:40:44 +0800 |
---|---|---|
committer | zhifeng.jiang <jiang.zhifeng@zte.com.cn> | 2016-08-23 19:39:38 +0800 |
commit | 54dc0d512764ef68b3831bfc59932cf2d9daa187 (patch) | |
tree | 3e5fb26ebde438c7f63a8289dd2a688619ff8616 /tests | |
parent | e0482d626cedfb1f30712e82df288454af65c76c (diff) |
Add some state change functions in db.py.
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>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/qtip_server_test.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/qtip_server_test.py b/tests/qtip_server_test.py index 31aa96dc..c2b12974 100644 --- a/tests/qtip_server_test.py +++ b/tests/qtip_server_test.py @@ -23,7 +23,7 @@ class TestClass: 'installer_ip': '10.20.0.2', 'pod_name': 'default', 'suite_name': 'all', - 'deadline': 10, + 'max-minutes': 10, 'type': 'BM', 'state': 'processing', 'state_detail': [], @@ -31,7 +31,7 @@ class TestClass: ({'installer_type': 'fuel', 'installer_ip': '10.20.0.2', 'pod_name': 'zte-pod1', - 'deadline': 20, + 'max-minutes': 20, 'suite_name': 'compute', 'type': 'VM'}, {'job_id': '', @@ -39,7 +39,7 @@ class TestClass: 'installer_ip': '10.20.0.2', 'pod_name': 'zte-pod1', 'suite_name': 'compute', - 'deadline': 20, + 'max-minutes': 20, 'type': 'VM', 'state': 'processing', 'state_detail': [], |