mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 18:23:57 -06:00
iotests: Test NBD client reconnection
The test for an NBD client. The NBD server is disconnected after the client write request. The NBD client should reconnect and complete the write operation. Suggested-by: Denis V. Lunev <den@openvz.org> Suggested-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Signed-off-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com> Reviewed-by: Eric Blake <eblake@redhat.com> Tested-by: Eric Blake <eblake@redhat.com> Message-Id: <1573529976-815699-1-git-send-email-andrey.shinkevich@virtuozzo.com>
This commit is contained in:
parent
a5c2a23510
commit
a4d925f8f0
5 changed files with 110 additions and 1 deletions
6
tests/qemu-iotests/277.out
Normal file
6
tests/qemu-iotests/277.out
Normal file
|
@ -0,0 +1,6 @@
|
|||
NBD server: started
|
||||
NBD client: QEMU-IO write
|
||||
NBD server: Closing connection on rule match inject-error
|
||||
NBD server: started
|
||||
NBD client: wrote 3145728/3145728 bytes at offset 0
|
||||
NBD server: Closing connection on rule match inject-error
|
Loading…
Add table
Add a link
Reference in a new issue