From: Yehuda Sadeh Date: Thu, 25 Jul 2013 23:47:34 +0000 (-0700) Subject: s3tests: clone correct branch X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7cbf8a18982731e3c17cd3cc8f8a57f322054719;p=teuthology.git s3tests: clone correct branch Signed-off-by: Yehuda Sadeh (cherry picked from commit 9dac3fe8091f9b62699ec18b6157db17ac21c6bc) Conflicts: teuthology/task/s3tests.py --- diff --git a/teuthology/task/s3tests.py b/teuthology/task/s3tests.py index af08bb5d6..a50ca36ed 100644 --- a/teuthology/task/s3tests.py +++ b/teuthology/task/s3tests.py @@ -20,7 +20,9 @@ def download(ctx, config): log.info('Downloading s3-tests...') testdir = teuthology.get_testdir(ctx) for (client, cconf) in config.items(): - branch = cconf.get('branch', 'master') + branch = cconf.get('force-branch', None) + if not branch: + branch = cconf.get('branch', 'master') sha1 = cconf.get('sha1') ctx.cluster.only(client).run( args=[