Actions
Feature #10357
openOptionally, skip all task teardown/cleanup
Status:
New
Priority:
High
Assignee:
-
Category:
-
% Done:
0%
Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
Description
I'm thinking of adding a job config option called teardown
to address this. teuthology.run_tasks.run_tasks()
would simply skip the finally:
block in every task.
Alternatively, this could be implemented on a per-task basis; they would all have to opt in. On every branch :-/
I think I like the first option better.
Updated by Zack Cerza over 9 years ago
- Target version changed from sprint20 to sprint21
Updated by Zack Cerza over 9 years ago
- Status changed from New to 12
- Target version deleted (
sprint21)
Unfortunately, this really just isn't possible due to the way tasks are implemented as context managers. If they were implemented as classes with setup/exec/teardown methods, then it would be trivial.
Actions