[Tarantool-patches] [PATCH v1] Add replication_connect_timeout to quorum.lua

Alexander V. Tikhonov avtikhon at tarantool.org
Wed Dec 2 09:57:45 MSK 2020


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



More information about the Tarantool-patches mailing list