Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH v1] Add replication_connect_timeout to quorum.lua
@ 2020-12-02  6:57 Alexander V. Tikhonov
  0 siblings, 0 replies; only message in thread
From: Alexander V. Tikhonov @ 2020-12-02  6:57 UTC (permalink / raw)
  To: Alexander Turenko, Kirill Yukhin; +Cc: tarantool-patches

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-02  6:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-02  6:57 [Tarantool-patches] [PATCH v1] Add replication_connect_timeout to quorum.lua Alexander V. Tikhonov

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