]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: preserve cbt task results
authorNeha Ojha <nojha@redhat.com>
Wed, 6 Dec 2017 21:23:44 +0000 (13:23 -0800)
committerrakeshgm <rgowdege@redhat.com>
Thu, 1 Aug 2019 05:43:12 +0000 (11:13 +0530)
Signed-off-by: Neha Ojha <nojha@redhat.com>
qa/tasks/cbt.py

index 91bd3ff5480d8bd6efbdf503a1ae13f86be43404..40b8a08a7156877a534a96ab412e8c5ab06de56d 100644 (file)
@@ -118,6 +118,8 @@ class CBT(Task):
                 '{cbtdir}/cbt_config.yaml'.format(cbtdir=self.cbt_dir),
             ],
         )
+        preserve_file = os.path.join(self.ctx.archive, '.preserve')
+        open(preserve_file, 'a').close()
 
     def end(self):
         super(CBT, self).end()