From: Ilya Dryomov Date: Wed, 8 Apr 2020 10:24:51 +0000 (+0200) Subject: qa/tasks/rbd_fio: unbreak after the conversion from StringIO X-Git-Tag: v14.2.10~17^2~42 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ceb9766033c91e8678692a67a512eb0bc06033e9;p=ceph.git qa/tasks/rbd_fio: unbreak after the conversion from StringIO Fix a bad typo in commit db7ae8eff60a ("qa/tasks/rbd_fio: get rid of StringIO for py3"). Signed-off-by: Ilya Dryomov (cherry picked from commit c3f4f1d6604749a51c552b868ef373f321139005) --- diff --git a/qa/tasks/rbd_fio.py b/qa/tasks/rbd_fio.py index 20f3579bec07..437a527fd2d6 100644 --- a/qa/tasks/rbd_fio.py +++ b/qa/tasks/rbd_fio.py @@ -77,7 +77,7 @@ def get_ioengine_package_name(ioengine, remote): def run_rbd_map(remote, image, iodepth): iodepth = max(iodepth, 128) # RBD_QUEUE_DEPTH_DEFAULT dev = remote.sh(['sudo', 'rbd', 'device', 'map', '-o', - 'queue_depth={}'.format(iodepth), image]).rstripg('\n') + 'queue_depth={}'.format(iodepth), image]).rstrip('\n') teuthology.sudo_write_file( remote, '/sys/block/{}/queue/nr_requests'.format(os.path.basename(dev)),