diff options
| author | Aarushi Mehta | 2020-01-20 15:18:58 +0100 |
|---|---|---|
| committer | Stefan Hajnoczi | 2020-01-30 22:01:40 +0100 |
| commit | 8dff69b9415b4287e900358744b732195e1ab2e2 (patch) | |
| tree | 77408fb96ad9559a1a21bb84df23f2527e603192 /tests/qemu-iotests/147 | |
| parent | tests/qemu-iotests: enable testing with aio options (diff) | |
| download | qemu-8dff69b9415b4287e900358744b732195e1ab2e2.tar.gz qemu-8dff69b9415b4287e900358744b732195e1ab2e2.tar.xz qemu-8dff69b9415b4287e900358744b732195e1ab2e2.zip | |
tests/qemu-iotests: use AIOMODE with various tests
Signed-off-by: Aarushi Mehta <mehta.aaru20@gmail.com>
Acked-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20200120141858.587874-16-stefanha@redhat.com
Message-Id: <20200120141858.587874-16-stefanha@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/147')
| -rwxr-xr-x | tests/qemu-iotests/147 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/qemu-iotests/147 b/tests/qemu-iotests/147 index 03fc2fabcf..2b6f859a09 100755 --- a/tests/qemu-iotests/147 +++ b/tests/qemu-iotests/147 @@ -24,7 +24,7 @@ import socket import stat import time import iotests -from iotests import cachemode, imgfmt, qemu_img, qemu_nbd, qemu_nbd_early_pipe +from iotests import cachemode, aiomode, imgfmt, qemu_img, qemu_nbd, qemu_nbd_early_pipe NBD_PORT_START = 32768 NBD_PORT_END = NBD_PORT_START + 1024 @@ -134,7 +134,8 @@ class BuiltinNBD(NBDBlockdevAddBase): self.server.add_drive_raw('if=none,id=nbd-export,' + 'file=%s,' % test_img + 'format=%s,' % imgfmt + - 'cache=%s' % cachemode) + 'cache=%s' % cachemode + + 'aio=%s' % aiomode) self.server.launch() def tearDown(self): |
