From: "Alexander V. Tikhonov" <avtikhon@tarantool.org>
To: Alexander Turenko <alexander.turenko@tarantool.org>,
Kirill Yukhin <kyukhin@tarantool.org>
Cc: tarantool-patches@dev.tarantool.org
Subject: [Tarantool-patches] [PATCH v1] Add replication_connect_timeout to quorum.lua
Date: Wed, 2 Dec 2020 09:57:45 +0300 [thread overview]
Message-ID: <47b2763c1acc7c16dce155343d9fd8d4e450b730.1606892191.git.avtikhon@tarantool.org> (raw)
Added replication_connect_timeout to replication/quorum.lua script to
decrease replication/quorum.test.lua test run time in 2 times which was
150 seconds before it. Before the patch this test run time was near to
'test-timeout' limit of 110 seconds and even to 120 seconds of
'no-output-timeout' limit. It caused test to fail because of it.
---
Github: https://github.com/tarantool/tarantool/tree/avtikhon/test_quorum_timeout
test/replication/quorum.lua | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/replication/quorum.lua b/test/replication/quorum.lua
index 129e676e0..b4360d960 100644
--- a/test/replication/quorum.lua
+++ b/test/replication/quorum.lua
@@ -18,6 +18,7 @@ require('console').listen(os.getenv('ADMIN'))
box.cfg({
listen = instance_uri(INSTANCE_ID);
replication_timeout = TIMEOUT;
+ replication_connect_timeout = TIMEOUT * 100;
replication_sync_lag = 0.01;
replication_connect_quorum = 3;
replication = {
--
2.25.1
reply other threads:[~2020-12-02 6:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=47b2763c1acc7c16dce155343d9fd8d4e450b730.1606892191.git.avtikhon@tarantool.org \
--to=avtikhon@tarantool.org \
--cc=alexander.turenko@tarantool.org \
--cc=kyukhin@tarantool.org \
--cc=tarantool-patches@dev.tarantool.org \
--subject='Re: [Tarantool-patches] [PATCH v1] Add replication_connect_timeout to quorum.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