The return value of get_test_container has conflict between task_state and status
modify the task_state value in get_test_container function from 'container_creating' to None. Change-Id: I73e1ea8f6ad454adb3bd49a5b560774bdcb0a61a Closes-bug: #1745571
This commit is contained in:
parent
96bb7e50d7
commit
eec3ec5659
@ -57,7 +57,7 @@ def get_test_container(**kwargs):
|
||||
'command': kwargs.get('command', 'fake_command'),
|
||||
'status': kwargs.get('status', 'Running'),
|
||||
'status_reason': kwargs.get('status_reason', 'Created Successfully'),
|
||||
'task_state': kwargs.get('task_state', 'container_creating'),
|
||||
'task_state': kwargs.get('task_state', None),
|
||||
'environment': kwargs.get('environment', {'key1': 'val1',
|
||||
'key2': 'val2'}),
|
||||
'cpu': kwargs.get('cpu', 1.0),
|
||||
|
Loading…
x
Reference in New Issue
Block a user