Re: [PATCH v3 9/9] iotests: add nbd-reconnect-on-open test

2021-09-08 Thread Vladimir Sementsov-Ogievskiy
07.09.2021 23:51, Eric Blake wrote: +def check_fail_to_connect(open_timeout): +log(f'Check fail to connect with {open_timeout} seconds of timeout') + +start_t = time.time() +qemu_io_log(*create_args(open_timeout)) +delta_t = time.time() - start_t + +max_delta = open_timeout +

Re: [PATCH v3 9/9] iotests: add nbd-reconnect-on-open test

2021-09-07 Thread Eric Blake
On Mon, Sep 06, 2021 at 10:06:54PM +0300, Vladimir Sementsov-Ogievskiy wrote: > Signed-off-by: Vladimir Sementsov-Ogievskiy > --- > .../qemu-iotests/tests/nbd-reconnect-on-open | 71 +++ > .../tests/nbd-reconnect-on-open.out | 11 +++ > 2 files changed, 82 insertions(+)

[PATCH v3 9/9] iotests: add nbd-reconnect-on-open test

2021-09-06 Thread Vladimir Sementsov-Ogievskiy
Signed-off-by: Vladimir Sementsov-Ogievskiy --- .../qemu-iotests/tests/nbd-reconnect-on-open | 71 +++ .../tests/nbd-reconnect-on-open.out | 11 +++ 2 files changed, 82 insertions(+) create mode 100755 tests/qemu-iotests/tests/nbd-reconnect-on-open create mode 100644