]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
s3tests: clone correct branch
authorYehuda Sadeh <yehuda@inktank.com>
Thu, 25 Jul 2013 23:47:34 +0000 (16:47 -0700)
committerSage Weil <sage@inktank.com>
Tue, 30 Jul 2013 22:43:48 +0000 (15:43 -0700)
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
(cherry picked from commit 9dac3fe8091f9b62699ec18b6157db17ac21c6bc)

Conflicts:

teuthology/task/s3tests.py

teuthology/task/s3tests.py

index af08bb5d641dadcde011eeb7d51fc8578b7c87e7..a50ca36ed7a8d9afa40c39945e10345cb9c0a322 100644 (file)
@@ -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=[