]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
radosgw-agent: default to 1000 max entries
authorJosh Durgin <josh.durgin@inktank.com>
Mon, 24 Mar 2014 21:54:23 +0000 (14:54 -0700)
committerJosh Durgin <josh.durgin@inktank.com>
Mon, 24 Mar 2014 21:54:36 +0000 (14:54 -0700)
Using a small number of max entries is only needed for one test, so
make it configurable. Setting it too low makes s3tests fail.

Fixes http://tracker.ceph.com/issues/7742

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
teuthology/task/radosgw-agent.py

index e9a97e748e71e15f7a61a4d7bc92477ae0bd3a8c..6d48e0df0510c7d787a7f701d2eaf4f9fecbf49c 100644 (file)
@@ -88,7 +88,7 @@ def run_radosgw_agent(ctx, config):
             '--source', "http://{addr}:{port}".format(addr=src_host, port=src_port),
             '--dest-access-key', dest_access,
             '--dest-secret-key', dest_secret,
-            '--max-entries', '10',
+            '--max-entries', cconf.get('max-entries', '1000'),
             '--log-file', '{tdir}/archive/rgw_sync_agent.{client}.log'.format(
                 tdir=testdir,
                 client=client),