]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/rados: don't pass --max_attr_len to ceph_test_rados unconditionally 58122/head
authorRadosław Zarzyński <rzarzyns@redhat.com>
Mon, 3 Jun 2024 22:00:38 +0000 (00:00 +0200)
committerLaura Flores <lflores@ibm.com>
Tue, 18 Jun 2024 18:48:08 +0000 (13:48 -0500)
Fixes: https://tracker.ceph.com/issues/66321
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
(cherry picked from commit 8a6d56e62fc03062e60828a3bc9f37ed7232b3e7)

qa/tasks/rados.py

index 43e77df6809b6e72e4851b23cba36a2cbf1775c5..2ae303659bb18948e99744c36146149692bbb393 100644 (file)
@@ -162,6 +162,8 @@ def task(ctx, config):
         args.extend(['--balance-reads'])
     if config.get('localize_reads', False):
         args.extend(['--localize-reads'])
+    if config.get('max_attr_len', None):
+        args.extend(['--max-attr-len', str(config.get('max_attr_len'))])
     args.extend([
         '--max-ops', str(config.get('ops', 10000)),
         '--objects', str(config.get('objects', 500)),
@@ -169,8 +171,7 @@ def task(ctx, config):
         '--size', str(object_size),
         '--min-stride-size', str(config.get('min_stride_size', object_size // 10)),
         '--max-stride-size', str(config.get('max_stride_size', object_size // 5)),
-        '--max-seconds', str(config.get('max_seconds', 0)),
-        '--max-attr-len', str(config.get('max_attr_len', 20000))
+        '--max-seconds', str(config.get('max_seconds', 0))
         ])
 
     weights = {}