]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/radosbench: use long form of option for compatibility 35488/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:15:00 +0000 (13:15 -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 7b6b98adad0cb7a99e7a36d3b967cf6030af210f..32b09576549a47549996e32f63d576c397965875 100644 (file)
@@ -84,7 +84,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":