[Tarantool-patches] [PATCH 1/1] test: fix flaky qsync_basic.test.lua

Cyrill Gorcunov gorcunov at gmail.com
Mon Jul 13 11:35:03 MSK 2020


On Sat, Jul 11, 2020 at 07:01:52PM +0200, Vladislav Shpilevoy wrote:
> In one of the test cases 2 fibers were started making a
> transaction. In the first fiber the transaction was rolled back,
> and the second fiber was expected to do the same.
> 
> It did rollback too, but not always immediately after the first
> one. Because the first fiber needed not just do rollback right
> away, but write a ROLLBACK entry into WAL before applying the
> rollback to all next transactions. This led to a yield, during
> which it was possible to observe the second fiber not dead yet.
> 
> The patch makes the test explicitly wait for the fibers death.
> 
> Closes #5162
> ---
> Branch: http://github.com/tarantool/tarantool/tree/gerold103/gh-5162-flaky-qsync_basic
> Issue: https://github.com/tarantool/tarantool/issues/5162

Reviewed-by: Cyrill Gorcunov <gorcunov at gmail.com>


More information about the Tarantool-patches mailing list