Tarantool development patches archive
 help / color / mirror / Atom feed
From: Alexander Turenko <alexander.turenko@tarantool.org>
To: tarantool-patches@freelists.org
Cc: Alexander Turenko <alexander.turenko@tarantool.org>
Subject: [tarantool-patches] [PATCH 0/4] *** test: replication/ fixes for parallel run ***
Date: Wed, 10 Apr 2019 16:28:41 +0300	[thread overview]
Message-ID: <cover.1554902241.git.alexander.turenko@tarantool.org> (raw)

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

             reply	other threads:[~2019-04-10 13:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-10 13:28 Alexander Turenko [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1554902241.git.alexander.turenko@tarantool.org \
    --to=alexander.turenko@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --subject='Re: [tarantool-patches] [PATCH 0/4] *** test: replication/ fixes for parallel run ***' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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