[tarantool-patches] [PATCH 0/4] *** test: replication/ fixes for parallel run ***

Alexander Turenko alexander.turenko at tarantool.org
Wed Apr 10 16:28:41 MSK 2019


This patchset eliminates some of flaky fails observed when tests are run
in parallel. It increases replication_connect_timeout from 0.5 to 30
seconds, increases replication_timeout from 0.01 to 0.03 (where we wait
that a replication stops) or 0.1 (where it should not affect a duration
of a test).

Also eliminated problems when a write to xlog/snap/log file stalls for
some time because of a system load (say, many writes to a disc from
other tests): added waiting for expected changes.

I filed https://github.com/tarantool/tarantool/issues/4129 re
replication/sync.test.lua rewriting, because it seems that we have no
easy way to make it stable with the current approach which slows down
sending rows from relay. Proposed to stop applier on a certain LSN
instead.

This patchset does not fix all problems with running replication/ test
suite in parallel, but fixes some of them.

no issue
https://github.com/tarantool/tarantool/tree/Totktonada/test-replication-fix-flaky-fails

Alexander Tikhonov (1):
  test: wait for xlog/snap/log file changes

Alexander Turenko (3):
  test: allow to run replication/misc multiple times
  test: increase timeouts in replication/misc
  test: increase timeouts in replication/errinj

 test/replication/errinj.result           |  8 ++---
 test/replication/errinj.test.lua         |  8 ++---
 test/replication/gc_no_space.result      | 18 +++++-----
 test/replication/gc_no_space.test.lua    | 18 +++++-----
 test/replication/lua/rlimit.lua          |  2 +-
 test/replication/misc.result             | 43 ++++++------------------
 test/replication/misc.test.lua           | 27 ++++++---------
 test/replication/replica_rejoin.result   | 10 +++---
 test/replication/replica_rejoin.test.lua |  6 ++--
 test/replication/sync.result             |  2 +-
 test/replication/sync.test.lua           |  2 +-
 11 files changed, 59 insertions(+), 85 deletions(-)

-- 
2.20.1





More information about the Tarantool-patches mailing list