From 7418de9315fd7176b48c7a03369ce95b5222f3e1 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Fri, 11 Jul 2014 13:06:21 -0600 Subject: [PATCH] Use the ceph_branch if suite_branch isn't found Signed-off-by: Zack Cerza --- teuthology/worker.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/teuthology/worker.py b/teuthology/worker.py index 2dac400e6d..75def495cf 100644 --- a/teuthology/worker.py +++ b/teuthology/worker.py @@ -191,7 +191,9 @@ def main(ctx): try: teuth_path = fetch_teuthology_branch(branch=teuthology_branch) - suite_path = fetch_qa_suite(job_config['suite_branch']) + ceph_branch = job_config['branch'] + suite_branch = job_config.get('suite_branch', ceph_branch) + suite_path = fetch_qa_suite(suite_branch) except BranchNotFoundError: log.exception( "Branch not found; throwing job away") -- 2.39.5