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 56B802D8A2 for ; Mon, 10 Jun 2019 00:27:40 -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 rARzosCOekNa for ; Mon, 10 Jun 2019 00:27:40 -0400 (EDT) Received: from smtp56.i.mail.ru (smtp56.i.mail.ru [217.69.128.36]) (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 A0FB22D84C for ; Mon, 10 Jun 2019 00:27:39 -0400 (EDT) Received: by smtp56.i.mail.ru with esmtpa (envelope-from ) id 1haBuD-0007OD-F9 for tarantool-patches@freelists.org; Mon, 10 Jun 2019 07:27:37 +0300 From: =?utf-8?B?0JPQtdC+0YDQs9C40Lkg0JrQuNGA0LjRh9C10L3QutC+?= Subject: [tarantool-patches] Re: [PATCH-v3 15/15] Fix flaky test Date: Mon, 10 Jun 2019 07:27:34 +0300 Message-ID: <1964813.K2qbLuLMN3@home.lan> In-Reply-To: References: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2984665.zm6AsJr558"; micalg="pgp-sha256"; protocol="application/pgp-signature" 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 --nextPart2984665.zm6AsJr558 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Please don't review - sent by mistake On Sunday, June 9, 2019 11:44:44 PM MSK Georgy Kirichenko wrote: > --- > test/replication/sync.result | 7 +++++-- > test/replication/sync.test.lua | 4 ++-- > 2 files changed, 7 insertions(+), 4 deletions(-) > > diff --git a/test/replication/sync.result b/test/replication/sync.result > index eddc7cbc8..6b5a14d3f 100644 > --- a/test/replication/sync.result > +++ b/test/replication/sync.result > @@ -46,7 +46,7 @@ function fill() > box.space.test:replace{i} > end > fiber.create(function() > - box.error.injection.set('ERRINJ_RELAY_TIMEOUT', 0.1) > + box.error.injection.set('ERRINJ_RELAY_TIMEOUT', 0.0025) > test_run:wait_cond(function() > local r = box.info.replication[2] > return r ~= nil and r.downstream ~= nil and > @@ -55,7 +55,6 @@ function fill() > for i = count + 101, count + 200 do > box.space.test:replace{i} > end > - box.error.injection.set('ERRINJ_RELAY_TIMEOUT', 0) > end) > count = count + 200 > end; > @@ -250,6 +249,10 @@ test_run:cmd("switch default") > --- > - true > ... > +box.error.injection.set('ERRINJ_RELAY_TIMEOUT', 0) > +--- > +- ok > +... > box.error.injection.set('ERRINJ_WAL_DELAY', true) > --- > - ok > diff --git a/test/replication/sync.test.lua b/test/replication/sync.test.lua > index 52ce88fe2..f0f530ad4 100644 > --- a/test/replication/sync.test.lua > +++ b/test/replication/sync.test.lua > @@ -30,7 +30,7 @@ function fill() > box.space.test:replace{i} > end > fiber.create(function() > - box.error.injection.set('ERRINJ_RELAY_TIMEOUT', 0.1) > + box.error.injection.set('ERRINJ_RELAY_TIMEOUT', 0.0025) > test_run:wait_cond(function() > local r = box.info.replication[2] > return r ~= nil and r.downstream ~= nil and > @@ -39,7 +39,6 @@ function fill() > for i = count + 101, count + 200 do > box.space.test:replace{i} > end > - box.error.injection.set('ERRINJ_RELAY_TIMEOUT', 0) > end) > count = count + 200 > end; > @@ -136,6 +135,7 @@ box.cfg{replication_sync_lag = 1} > box.cfg{replication_sync_timeout = 10} > > test_run:cmd("switch default") > +box.error.injection.set('ERRINJ_RELAY_TIMEOUT', 0) > box.error.injection.set('ERRINJ_WAL_DELAY', true) > test_run:cmd("setopt delimiter ';'") > _ = fiber.create(function() --nextPart2984665.zm6AsJr558 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQEyBAABCAAdFiEEFB+nbqWGnp59Rk9ZFSyY70x8X3sFAlz93DYACgkQFSyY70x8 X3tl0gf451It5alrwEiUZXgneit2l1sPQ+TiqLgSBu3Jv2BqmfWtD/T1yfdcvJYd +CXDjpyUJpwOu6ez5ILMPLNdYx410dsaJqcH/LRyZH9FAqVVeSVKdqcbPgHZytJ2 9xBfFEfY+dLkb10cHT1Z+Q4EsZP8eYSrH9l8c2rwW+7K50RyjqO48Hwi/VN9SftY Wie/T7PHblYKBeVPDIiZyVz3K82GPDtp/tQugDTkv20Z2B4YeLTkNvxybXAK0MLQ mjVomeNXbahnqZZIr8jeoCojDcXQ7AHIIGI48uhnZ/KXS/A+cv7MgjF6mVxMdsJj ySGR9aVi+ywtrsU0ltiiWLJYRcya =e2hm -----END PGP SIGNATURE----- --nextPart2984665.zm6AsJr558--