]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
teuthology-worker: keep machines locked on error
authorJosh Durgin <josh.durgin@dreamhost.com>
Wed, 3 Aug 2011 00:56:49 +0000 (17:56 -0700)
committerJosh Durgin <josh.durgin@dreamhost.com>
Wed, 3 Aug 2011 00:59:08 +0000 (17:59 -0700)
This prevents a failure to clean up in one case from affecting the
rest of the tests.

teuthology/queue.py

index 0f766b7869726bef01a66d5230bcdc36f961bf28..e44226a234c8ac01e59907b9d97edc7b9f739603 100644 (file)
@@ -85,6 +85,7 @@ def run_job(job, archive_dir):
     arg.extend([
             '--lock',
             '--block',
+            '--keep-locked-on-error',
             '--owner', job_config['owner'],
             '--archive', archive_path,
             ])