]> 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, 13 Oct 2014 22:07:06 +0000 (15:07 -0700)
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>
tasks/s3tests.py

index 48f49ac8b20f50b1640960480b0208a6fc08229d..7d933e5fb0a6d6136ae0bd855f90e376af757cc4 100644 (file)
@@ -246,6 +246,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=[