Tarantool development patches archive
 help / color / mirror / Atom feed
* [tarantool-patches] [PATCH 0/4] *** test: replication/ fixes for parallel run ***
@ 2019-04-10 13:28 Alexander Turenko
  2019-04-10 13:28 ` [tarantool-patches] [PATCH 1/4] test: allow to run replication/misc multiple times Alexander Turenko
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Alexander Turenko @ 2019-04-10 13:28 UTC (permalink / raw)
  To: tarantool-patches; +Cc: Alexander Turenko

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-04-10 13:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-10 13:28 [tarantool-patches] [PATCH 0/4] *** test: replication/ fixes for parallel run *** Alexander Turenko
2019-04-10 13:28 ` [tarantool-patches] [PATCH 1/4] test: allow to run replication/misc multiple times Alexander Turenko
2019-04-10 13:28 ` [tarantool-patches] [PATCH 2/4] test: increase timeouts in replication/misc Alexander Turenko
2019-04-10 13:28 ` [tarantool-patches] [PATCH 3/4] test: increase timeouts in replication/errinj Alexander Turenko
2019-04-10 13:28 ` [tarantool-patches] [PATCH 4/4] test: wait for xlog/snap/log file changes Alexander Turenko
2019-04-10 13:43 ` [tarantool-patches] Re: [PATCH 0/4] *** test: replication/ fixes for parallel run *** Alexander Turenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox