Purge executions created during functional testing
Change-Id: Ibcfbe23d2608d43a21e7a5b77002071672325fa9 Partial-Bug: #1488157
This commit is contained in:
parent
6b89f6918e
commit
5bd01b7bfb
|
@ -339,6 +339,10 @@ class ExecutionTestsV2(base.TestCase):
|
|||
self.client.delete_obj('workflows', wf)
|
||||
self.client.workflows = []
|
||||
|
||||
for wf in self.client.executions:
|
||||
self.client.delete_obj('executions', wf)
|
||||
self.client.executions = []
|
||||
|
||||
super(ExecutionTestsV2, self).tearDown()
|
||||
|
||||
@test.attr(type='smoke')
|
||||
|
@ -870,6 +874,10 @@ class TasksTestsV2(base.TestCase):
|
|||
self.client.delete_obj('workflows', wf)
|
||||
self.client.workflows = []
|
||||
|
||||
for wf in self.client.executions:
|
||||
self.client.delete_obj('executions', wf)
|
||||
self.client.executions = []
|
||||
|
||||
super(TasksTestsV2, self).tearDown()
|
||||
|
||||
@test.attr(type='smoke')
|
||||
|
|
Loading…
Reference in New Issue