Tarantool development patches archive
 help / color / mirror / Atom feed
From: "Alexander V. Tikhonov" <avtikhon@tarantool.org>
To: Kirill Yukhin <kyukhin@tarantool.org>,
	Serge Petrenko <sergepetrenko@tarantool.org>
Cc: tarantool-patches@dev.tarantool.org
Subject: [Tarantool-patches] [PATCH v1] test: flaky replication/bootstrap_leader.test.lua
Date: Sun,  6 Sep 2020 23:06:35 +0300	[thread overview]
Message-ID: <e1780138abc6226813d4acd3fbd1b57b9977a197.1599422747.git.avtikhon@tarantool.org> (raw)

Found on heavy loaded hosts the issue:

  --- replication/bootstrap_leader.result	Wed Apr 15 15:47:41 2020
  +++ var/020_replication/bootstrap_leader.result	Sun Sep  6 21:57:40 2020
  @@ -52,10 +52,3 @@
       test_run:cmd("stop server replica"..i.." with cleanup=1")
       test_run:cmd("delete server replica"..i)
   end;
  - | ---
  - | ...
  -
  -test_run:cmd("setopt delimiter ''");
  - | ---
  - | - true
  - | ...

It happened, because the test used static timeouts, which on heavy
loaded hosts where not tuned for it. To fix the issue the test must
be run in standalone mode by test-run tool. To make it available the
test was added to 'fragile' list of its suite configuration file.

Closes #5275
---

Github: https://github.com/tarantool/tarantool/tree/avtikhon/gh-5275-flaky-bootstrap-leader
Issue: https://github.com/tarantool/tarantool/issues/5275

 test/replication/suite.ini | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/replication/suite.ini b/test/replication/suite.ini
index ab9c3dabd..be3f5b57e 100644
--- a/test/replication/suite.ini
+++ b/test/replication/suite.ini
@@ -24,3 +24,4 @@ fragile = errinj.test.lua            ; gh-3870
           gh-4605-empty-password.test.lua         ; gh-5030
           anon.test.lua              ; gh-5058
           status.test.lua            ; gh-5110
+          bootstrap_leader.test.lua  ; gh-5275
-- 
2.17.1

             reply	other threads:[~2020-09-06 20:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-06 20:06 Alexander V. Tikhonov [this message]
2020-09-09 15:51 ` Serge Petrenko

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=e1780138abc6226813d4acd3fbd1b57b9977a197.1599422747.git.avtikhon@tarantool.org \
    --to=avtikhon@tarantool.org \
    --cc=kyukhin@tarantool.org \
    --cc=sergepetrenko@tarantool.org \
    --cc=tarantool-patches@dev.tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH v1] test: flaky replication/bootstrap_leader.test.lua' \
    /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