]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tasks/s3tests: add slow backend configurable
authorYehuda Sadeh <yehuda@redhat.com>
Mon, 13 Oct 2014 22:07:06 +0000 (15:07 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Mon, 12 Jan 2015 17:23:25 +0000 (09:23 -0800)
Adding this so that we can modify the clients' conf file as needed with slow backend.
This can be achieved by:

overrides:
  s3tests:
    slow_backend: true

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 61409179dfdd6969c624dd741813291332644003)

tasks/s3tests.py

index bad6ea4d21d90aea266995a42c56665b61b2a44a..3c2de28c37f5a35f891032f10e8706c0da6f09aa 100644 (file)
@@ -253,6 +253,9 @@ def configure(ctx, config):
         else:
             s3tests_conf['DEFAULT']['host'] = 'localhost'
 
+        if properties is not None and 'slow_backend' in properties:
+           s3tests_conf['fixtures']['slow backend'] = properties['slow_backend']
+
         (remote,) = ctx.cluster.only(client).remotes.keys()
         remote.run(
             args=[