]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
filestore_idempotent: get coverage and coredumps
authorJosh Durgin <josh.durgin@dreamhost.com>
Mon, 19 Mar 2012 18:57:02 +0000 (11:57 -0700)
committerJosh Durgin <josh.durgin@dreamhost.com>
Mon, 19 Mar 2012 18:57:02 +0000 (11:57 -0700)
teuthology/task/filestore_idempotent.py

index a9c9b2f037c072060688c9e5765480e513552b95..45c424cafddf2b2259ae85cfaae97b6a1a4c64e7 100644 (file)
@@ -34,14 +34,22 @@ def task(ctx, config):
                      'count=100'])
 
     log.info('writing some data and simulating a failure')
-    remote.run(args=[
+    remote.run(
+        args=[
+            '/tmp/cephtest/enable-coredump',
+            '/tmp/cephtest/binary/usr/local/bin/ceph-coverage',
+            '/tmp/cephtest/archive/coverage',
             '/tmp/cephtest/binary/usr/local/bin/test_filestore_idempotent',
             '-c', '/tmp/cephtest/ceph.conf',
             'write', dir, journal
             ])
 
     log.info('verifying journal replay gives the correct result')
-    remote.run(args=[
+    remote.run(
+        args=[
+            '/tmp/cephtest/enable-coredump',
+            '/tmp/cephtest/binary/usr/local/bin/ceph-coverage',
+            '/tmp/cephtest/archive/coverage',
             '/tmp/cephtest/binary/usr/local/bin/test_filestore_idempotent',
             '-c', '/tmp/cephtest/ceph.conf',
             'verify', dir, journal