1
0
mirror of https://github.com/ceph/ceph synced 2025-01-02 00:52:22 +00:00

qa/tasks/radosbench: use long form of option for compatibility

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>
This commit is contained in:
Josh Durgin 2020-06-08 11:29:43 -07:00
parent a78781d82e
commit 9673d37f1b

View 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":