From: Vladislav Shpilevoy <v.shpilevoy@tarantool.org> To: tarantool-patches@dev.tarantool.org, sergepetrenko@tarantool.org Subject: [Tarantool-patches] [PATCH 1/2] test: fix a typo in election_basic Date: Sat, 7 Nov 2020 00:46:32 +0100 [thread overview] Message-ID: <91007b6ff6854cfbb49d83ecd9df172331c4cc99.1604706353.git.v.shpilevoy@tarantool.org> (raw) In-Reply-To: <cover.1604706353.git.v.shpilevoy@tarantool.org> The typo led to not resetting the election timeout to the default value. It was left 1000, and as a result the next election tests could work extremely long. Part of #5499 --- test/replication/election_basic.result | 2 +- test/replication/election_basic.test.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/replication/election_basic.result b/test/replication/election_basic.result index 03917c7e4..4d7d33f2b 100644 --- a/test/replication/election_basic.result +++ b/test/replication/election_basic.result @@ -6,7 +6,7 @@ test_run = require('test_run').new() -- gh-1146: Raft protocol for automated leader election. -- -old_election_timeout = box.cfg_election_timeout +old_election_timeout = box.cfg.election_timeout | --- | ... diff --git a/test/replication/election_basic.test.lua b/test/replication/election_basic.test.lua index 1b4bb8d27..821f73cea 100644 --- a/test/replication/election_basic.test.lua +++ b/test/replication/election_basic.test.lua @@ -3,7 +3,7 @@ test_run = require('test_run').new() -- gh-1146: Raft protocol for automated leader election. -- -old_election_timeout = box.cfg_election_timeout +old_election_timeout = box.cfg.election_timeout -- Election is turned off by default. assert(box.cfg.election_mode == 'off') -- 2.21.1 (Apple Git-122.3)
next prev parent reply other threads:[~2020-11-06 23:46 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-11-06 23:46 [Tarantool-patches] [PATCH 0/2] Raft slow tests Vladislav Shpilevoy 2020-11-06 23:46 ` Vladislav Shpilevoy [this message] 2020-11-09 9:01 ` [Tarantool-patches] [PATCH 1/2] test: fix a typo in election_basic Serge Petrenko 2020-11-06 23:46 ` [Tarantool-patches] [PATCH 2/2] test: speed up election_qsync Vladislav Shpilevoy 2020-11-09 9:20 ` Serge Petrenko 2020-11-09 22:36 ` Vladislav Shpilevoy 2020-11-10 7:44 ` Serge Petrenko 2020-11-10 21:11 ` [Tarantool-patches] [PATCH 0/2] Raft slow tests Alexander V. Tikhonov 2020-11-10 22:05 ` Vladislav Shpilevoy
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=91007b6ff6854cfbb49d83ecd9df172331c4cc99.1604706353.git.v.shpilevoy@tarantool.org \ --to=v.shpilevoy@tarantool.org \ --cc=sergepetrenko@tarantool.org \ --cc=tarantool-patches@dev.tarantool.org \ --subject='Re: [Tarantool-patches] [PATCH 1/2] test: fix a typo in election_basic' \ /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