]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/radosbench: use long form of option for compatibility 35489/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:14:31 +0000 (13:14 -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)

Conflicts:
qa/tasks/radosbench.py - trivial context difference

qa/tasks/radosbench.py

index 0ae705134913ce9606f86c39e28314ffc16f834b..013a96242efb58f9560690e74ef6d4323b1e2cdb 100644 (file)
@@ -80,7 +80,7 @@ def task(ctx, config):
         if osize is 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":