Update completed tasks status to "finished"
After successfully finishing a benchmark task, Rally does not update its status from "test_tool->benchmarking" to "finished". As a result, these tasks get incorrectly stored in the database with the "test_tool->benchmarking" status, which prevents them from being deleted according to user's requests. The patch also adds the "failed" task status and sets this status in case of an error occuring in the test engine 'with' block. Closes-Bug: #1255980 Blueprint independent-deploy Change-Id: I5088f24feb35459d850ae054a62a0544b765ba40
This commit is contained in:
parent
11b7b7950b
commit
72dc968ca3
@ -28,6 +28,7 @@ class _TaskStatus(utils.ImmutableMixin, utils.EnumMixin):
|
||||
INIT = 'init'
|
||||
CLEANUP = 'cleanup'
|
||||
FINISHED = 'finished'
|
||||
FAILED = 'failed'
|
||||
|
||||
TEST_TOOL_PATCHING_OPENSTACK = 'test_tool->patching_openstack'
|
||||
TEST_TOOL_VERIFY_OPENSTACK = 'test_tool->verify_openstack'
|
||||
|
Loading…
Reference in New Issue
Block a user