]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: don't pass --max_attr_len to ceph_test_rados unconditionally
authorRadosław Zarzyński <rzarzyns@redhat.com>
Mon, 3 Jun 2024 22:00:38 +0000 (00:00 +0200)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Thu, 20 Jun 2024 20:37:57 +0000 (20:37 +0000)
Fixes: https://tracker.ceph.com/issues/66321
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
(cherry picked from commit 5c821233d097eb6eb4287bbd1d0b6d01638e5f90)

qa/tasks/rados.py

index bdea148f8408cda83ba63f86b0a676fea881f1a5..d8eac5d886fe8e00b2d4ca10ce98e51bd6753afc 100644 (file)
@@ -168,6 +168,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)),
@@ -175,8 +177,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 = {}