]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/radosbench: use long form of option for compatibility 35487/head
authorJosh Durgin <jdurgin@redhat.com>
Mon, 8 Jun 2020 18:29:43 +0000 (11:29 -0700)
committerJosh Durgin <jdurgin@redhat.com>
Tue, 9 Jun 2020 20:16:44 +0000 (13:16 -0700)
Since the short version of --object-size changed from -o to -O, it
does not work with upgrade tests.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
(cherry picked from commit 9673d37f1b72681f7583bf36537575d876da9712)

qa/tasks/radosbench.py

index afee16a932242d8be60237ed63f71595735a143d..a2c4f069353ec1ce66221f012795e11a6fd79732 100644 (file)
@@ -88,7 +88,7 @@ def task(ctx, config):
         if osize == 0:
             objectsize = []
         else:
-            objectsize = ['-O', str(osize)]
+            objectsize = ['--object-size', str(osize)]
         size = ['-b', str(config.get('size', 65536))]
         # If doing a reading run then populate data
         if runtype != "write":