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 27D172A353 for ; Wed, 10 Apr 2019 09:43:59 -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 vPobtg1PidFK for ; Wed, 10 Apr 2019 09:43:59 -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 CE1AE2A3B2 for ; Wed, 10 Apr 2019 09:43:58 -0400 (EDT) Date: Wed, 10 Apr 2019 16:43:51 +0300 From: Alexander Turenko Subject: [tarantool-patches] Re: [PATCH 0/4] *** test: replication/ fixes for parallel run *** Message-ID: <20190410134350.555c425blmxau5dr@tkn_work_nb> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: 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 Cc: "Alexander V. Tikhonov" Pushed to master and 2.1. WBR, Alexander Turenko. On Wed, Apr 10, 2019 at 04:28:41PM +0300, Alexander Turenko wrote: > This patchset eliminates some of flaky fails observed when tests are run > in parallel. It increases replication_connect_timeout from 0.5 to 30 > seconds, increases replication_timeout from 0.01 to 0.03 (where we wait > that a replication stops) or 0.1 (where it should not affect a duration > of a test). > > Also eliminated problems when a write to xlog/snap/log file stalls for > some time because of a system load (say, many writes to a disc from > other tests): added waiting for expected changes. > > I filed https://github.com/tarantool/tarantool/issues/4129 re > replication/sync.test.lua rewriting, because it seems that we have no > easy way to make it stable with the current approach which slows down > sending rows from relay. Proposed to stop applier on a certain LSN > instead. > > This patchset does not fix all problems with running replication/ test > suite in parallel, but fixes some of them. > > no issue > https://github.com/tarantool/tarantool/tree/Totktonada/test-replication-fix-flaky-fails > > Alexander Tikhonov (1): > test: wait for xlog/snap/log file changes > > Alexander Turenko (3): > test: allow to run replication/misc multiple times > test: increase timeouts in replication/misc > test: increase timeouts in replication/errinj > > test/replication/errinj.result | 8 ++--- > test/replication/errinj.test.lua | 8 ++--- > test/replication/gc_no_space.result | 18 +++++----- > test/replication/gc_no_space.test.lua | 18 +++++----- > test/replication/lua/rlimit.lua | 2 +- > test/replication/misc.result | 43 ++++++------------------ > test/replication/misc.test.lua | 27 ++++++--------- > test/replication/replica_rejoin.result | 10 +++--- > test/replication/replica_rejoin.test.lua | 6 ++-- > test/replication/sync.result | 2 +- > test/replication/sync.test.lua | 2 +- > 11 files changed, 59 insertions(+), 85 deletions(-) > > -- > 2.20.1 >