[PATCH] test: fix vinyl/errinj failure
Vladimir Davydov
vdavydov.dev at gmail.com
Fri Mar 15 19:26:14 MSK 2019
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.
More information about the Tarantool-patches
mailing list