diff options
author | wu.zhihui <wu.zhihui1@zte.com.cn> | 2017-03-13 17:16:50 +0800 |
---|---|---|
committer | wu.zhihui <wu.zhihui1@zte.com.cn> | 2017-03-13 18:14:50 +0800 |
commit | 57ec2e7a9757cbb1da8a1f73f0c55e8a5cb67bec (patch) | |
tree | 71675cd658f79bedbd64f7b91d8ae2382a5156af /qtip/driver | |
parent | a5145885c7a43622f803534ed97890ef9acb852d (diff) |
add the cleanup step in runner.py
Add the cleanup step in runner.py
Change-Id: I0016986485eab5d7ab45d4a7a393bea5fb6f96b5
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
Diffstat (limited to 'qtip/driver')
-rw-r--r-- | qtip/driver/ansible_driver.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qtip/driver/ansible_driver.py b/qtip/driver/ansible_driver.py index 356c39b7..34ef46ed 100644 --- a/qtip/driver/ansible_driver.py +++ b/qtip/driver/ansible_driver.py @@ -46,6 +46,9 @@ class AnsibleDriver(object): self.env_setup_flag = True logger.info("Setup test enviroment, Done!") + def cleanup(self): + self.env.cleanup() + def run(self, metric_list, **kwargs): if 'args' in self.config: extra_vars = self.merge_two_dicts(kwargs, self.config['args']) |