From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 15 Mar 2019 19:26:14 +0300 From: Vladimir Davydov Subject: Re: [PATCH] test: fix vinyl/errinj failure Message-ID: <20190315162614.d2wh5kbqt7crkmck@esperanza> References: <61756ccecf4f99169e945e87e7f72c70ac0f7cc6.1552667136.git.vdavydov.dev@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <61756ccecf4f99169e945e87e7f72c70ac0f7cc6.1552667136.git.vdavydov.dev@gmail.com> To: tarantool-patches@freelists.org List-ID: On Fri, Mar 15, 2019 at 07:25:46PM +0300, Vladimir Davydov wrote: > The patch fixes the following test failure: > > | --- vinyl/errinj.result Fri Mar 15 19:19:19 2019 > | +++ vinyl/errinj.reject Fri Mar 15 19:21:37 2019 > | @@ -854,7 +854,8 @@ > | ... > | ret > | --- > | -- - [3, 3] > | +- - [2, 2] > | + - [3, 3] > | ... > | s:drop() > | --- > > The error occurrs, because the test doesn't make sure that a read from > the scondary index actually occurs and the fiber does stall on a read > from the primary index. Use index stats to assure that. > > Closes #3863 > --- > test/vinyl/errinj.result | 25 +++++++++++++++++++------ > test/vinyl/errinj.test.lua | 11 +++++++---- > 2 files changed, 26 insertions(+), 10 deletions(-) Trivial. Pushed to 2.1.