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 1B0A420736 for ; Thu, 4 Apr 2019 12:47:52 -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 OUvS6nVQh9-w for ; Thu, 4 Apr 2019 12:47:52 -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 CD00E20063 for ; Thu, 4 Apr 2019 12:47:51 -0400 (EDT) Received: by smtpng3.m.smailru.net with esmtpa (envelope-from ) id 1hC5Wo-0001cG-Fl for tarantool-patches@freelists.org; Thu, 04 Apr 2019 19:47:50 +0300 Subject: [tarantool-patches] Re: [PATCH 1/1] test: fix swim test on a bit cluster failure detection From: Vladislav Shpilevoy References: <4e6bbc456f8f3f7882b2d615f5c3dac07c86b492.1554396403.git.v.shpilevoy@tarantool.org> Message-ID: <4ce1e6b3-9d6b-213a-8ee0-84e492fc7c00@tarantool.org> Date: Thu, 4 Apr 2019 19:47:50 +0300 MIME-Version: 1.0 In-Reply-To: <4e6bbc456f8f3f7882b2d615f5c3dac07c86b492.1554396403.git.v.shpilevoy@tarantool.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit 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 Trivial, pushed to master. On 04/04/2019 19:47, Vladislav Shpilevoy wrote: > 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) > >