From bdb72c282f7953ec22121ecb52bbbfe4f67472b2 Mon Sep 17 00:00:00 2001 From: Josh Durgin Date: Mon, 19 Mar 2012 11:57:02 -0700 Subject: [PATCH] filestore_idempotent: get coverage and coredumps --- teuthology/task/filestore_idempotent.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/teuthology/task/filestore_idempotent.py b/teuthology/task/filestore_idempotent.py index a9c9b2f037c07..45c424cafddf2 100644 --- a/teuthology/task/filestore_idempotent.py +++ b/teuthology/task/filestore_idempotent.py @@ -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 -- 2.39.5