Tarantool development patches archive
 help / color / mirror / Atom feed
From: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
To: tarantool-patches@freelists.org
Subject: [tarantool-patches] [PATCH 1/1] test: fix swim test on a bit cluster failure detection
Date: Thu,  4 Apr 2019 19:47:20 +0300	[thread overview]
Message-ID: <4e6bbc456f8f3f7882b2d615f5c3dac07c86b492.1554396403.git.v.shpilevoy@tarantool.org> (raw)

It takes random time since SWIM uses random members selection
for each round step. Appeared, that in one of tests choosen time
was too small sometimes. Now it is fixed by just increasing
timeout, but one of forthcoming patches reworks that test in
order to make it faster.

Follow up for f510dc6f46a96d1ff9898519fd1c73167b38d655
---
No branch - already pushed.
No issue.

 test/unit/swim.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/unit/swim.c b/test/unit/swim.c
index 32d223a7a..860d3211e 100644
--- a/test/unit/swim.c
+++ b/test/unit/swim.c
@@ -389,7 +389,7 @@ swim_test_too_big_packet(void)
 	 * Dissemination of a detected failure takes long time
 	 * without help of the component, intended for that.
 	 */
-	double timeout = size * 3;
+	double timeout = size * 10;
 	int i = 0;
 	for (; i < size; ++i) {
 		double start = swim_time();
-- 
2.17.2 (Apple Git-113)

             reply	other threads:[~2019-04-04 16:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-04 16:47 Vladislav Shpilevoy [this message]
2019-04-04 16:47 ` [tarantool-patches] " 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=4e6bbc456f8f3f7882b2d615f5c3dac07c86b492.1554396403.git.v.shpilevoy@tarantool.org \
    --to=v.shpilevoy@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --subject='Re: [tarantool-patches] [PATCH 1/1] test: fix swim test on a bit cluster failure detection' \
    /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