From 34a7b31823de617e39a49a3afde18d96a9976f8d Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Wed, 2 Jul 2014 18:27:09 -0600 Subject: [PATCH] Don't remove the teuthology repo if errors occur Signed-off-by: Zack Cerza --- teuthology/suite.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/teuthology/suite.py b/teuthology/suite.py index 7dc59d4cbe5c8..9ce500f85e1ed 100644 --- a/teuthology/suite.py +++ b/teuthology/suite.py @@ -127,12 +127,15 @@ def fetch_suite_repo(branch, test_name): enforce_repo_state( repo_url=os.path.join(config.ceph_git_base_url, 'teuthology.git'), dest_path=os.path.join(src_base_path, 'teuthology'), - branch='master') + branch='master', + remove_on_error=False, + ) enforce_repo_state( repo_url=os.path.join(config.ceph_git_base_url, 'ceph-qa-suite.git'), dest_path=suite_repo_path, - branch=branch) + branch=branch, + ) except BranchNotFoundError as exc: schedule_fail(message=str(exc), name=test_name) return suite_repo_path -- 2.39.5