Re: [PATCH v3] iotests: Test NBD client reconnection

2019-11-11 Thread Roman Kagan
On Mon, Nov 11, 2019 at 12:18:48PM +0300, Andrey Shinkevich wrote: > > > On 08/11/2019 17:05, Roman Kagan wrote: > > On Fri, Nov 08, 2019 at 01:49:50PM +, Vladimir Sementsov-Ogievskiy > > wrote: > >> 01.11.2019 19:54, Andrey Shinkevich wrote: > >>> +def check_proc_NBD(proc, connector): > >>>

Re: [PATCH v3] iotests: Test NBD client reconnection

2019-11-11 Thread Andrey Shinkevich
On 08/11/2019 17:05, Roman Kagan wrote: > On Fri, Nov 08, 2019 at 01:49:50PM +, Vladimir Sementsov-Ogievskiy wrote: >> 01.11.2019 19:54, Andrey Shinkevich wrote: >>> +def check_proc_NBD(proc, connector): >>> +try: >>> +exitcode = proc.wait(timeout=10) >>> + >>> +if exitcod

Re: [PATCH v3] iotests: Test NBD client reconnection

2019-11-11 Thread Andrey Shinkevich
On 08/11/2019 16:49, Vladimir Sementsov-Ogievskiy wrote: > 01.11.2019 19:54, Andrey Shinkevich wrote: >> 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.

Re: [PATCH v3] iotests: Test NBD client reconnection

2019-11-08 Thread Roman Kagan
On Fri, Nov 08, 2019 at 01:49:50PM +, Vladimir Sementsov-Ogievskiy wrote: > 01.11.2019 19:54, Andrey Shinkevich wrote: > > +def check_proc_NBD(proc, connector): > > +try: > > +exitcode = proc.wait(timeout=10) > > + > > +if exitcode < 0: > > +log('NBD {}: EXIT SIG

Re: [PATCH v3] iotests: Test NBD client reconnection

2019-11-08 Thread Vladimir Sementsov-Ogievskiy
01.11.2019 19:54, Andrey Shinkevich wrote: > 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 > Suggested-by: Vladimir Sementsov-Ogievskiy > Signed-off

[PATCH v3] iotests: Test NBD client reconnection

2019-11-01 Thread Andrey Shinkevich
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 Suggested-by: Vladimir Sementsov-Ogievskiy Signed-off-by: Andrey Shinkevich --- tests/qemu-iotests/277