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 7BE2429F5E for ; Wed, 10 Apr 2019 09:28:55 -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 4Re_OMvF6ykv for ; Wed, 10 Apr 2019 09:28:55 -0400 (EDT) Received: from smtp62.i.mail.ru (smtp62.i.mail.ru [217.69.128.42]) (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 2891629F39 for ; Wed, 10 Apr 2019 09:28:55 -0400 (EDT) From: Alexander Turenko Subject: [tarantool-patches] [PATCH 0/4] *** test: replication/ fixes for parallel run *** Date: Wed, 10 Apr 2019 16:28:41 +0300 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Turenko 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