]> git.proxmox.com Git - ceph.git/blobdiff - ceph/qa/tasks/cbt.py
import ceph 14.2.5
[ceph.git] / ceph / qa / tasks / cbt.py
index 9f8520f8cc539c17be55e77b3e80ecd671bbfb4c..b774cb56699009c0bfb2bf95e03410a8736ef8c2 100644 (file)
@@ -240,6 +240,21 @@ class CBT(Task):
                 cosbench_version = 'cosbench-0.4.2.c3.1'
             else:
                 cosbench_version = '0.4.2.c3'
+            # note: stop-all requires 'nc'
+            self.first_mon.run(
+                args=[
+                    'cd', testdir, run.Raw('&&'),
+                    'cd', 'cos', run.Raw('&&'),
+                    'sh', 'stop-all.sh',
+                    run.Raw('||'), 'true'
+                ]
+            )
+            self.first_mon.run(
+                args=[
+                    'sudo', 'killall', '-9', 'java',
+                    run.Raw('||'), 'true'
+                ]
+            )
             self.first_mon.run(
                 args=[
                     'rm', '--one-file-system', '-rf', '--',