From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 670E32BBF1 for ; Thu, 4 Apr 2019 12:47:24 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XgF-sEOX3aLL for ; Thu, 4 Apr 2019 12:47:24 -0400 (EDT) Received: from smtpng3.m.smailru.net (smtpng3.m.smailru.net [94.100.177.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 94C562BBEA for ; Thu, 4 Apr 2019 12:47:23 -0400 (EDT) Received: by smtpng3.m.smailru.net with esmtpa (envelope-from ) id 1hC5WL-0001Xu-CG for tarantool-patches@freelists.org; Thu, 04 Apr 2019 19:47:21 +0300 From: Vladislav Shpilevoy 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 Message-Id: <4e6bbc456f8f3f7882b2d615f5c3dac07c86b492.1554396403.git.v.shpilevoy@tarantool.org> Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-Help: List-Unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-Subscribe: List-Owner: List-post: List-Archive: To: tarantool-patches@freelists.org 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)