From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp61.i.mail.ru (smtp61.i.mail.ru [217.69.128.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id F365A446439 for ; Thu, 5 Nov 2020 17:35:02 +0300 (MSK) From: "Alexander V. Tikhonov" Date: Thu, 5 Nov 2020 17:34:00 +0300 Message-Id: <632416bd4286f1280c956eedb2ffd1e5daa58461.1604586681.git.avtikhon@tarantool.org> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH v1 1/2] test: filter output message for test List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kirill Yukhin Cc: tarantool-patches@dev.tarantool.org Added test-run filter for replication/election_qsync_stress.test.lua test on error message: 'error: Found uncommitted sync transactions from other instance with id [0-9]+' to avoid of printing changing data in results file to be able to use its checksums in fragile list of test-run to rerun it as flaky issue. --- test/replication/election_qsync_stress.result | 6 ++++++ test/replication/election_qsync_stress.test.lua | 3 +++ test/replication/suite.ini | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/test/replication/election_qsync_stress.result b/test/replication/election_qsync_stress.result index 9fab2f1d7..b54dc23c4 100644 --- a/test/replication/election_qsync_stress.result +++ b/test/replication/election_qsync_stress.result @@ -6,6 +6,12 @@ netbox = require('net.box') | --- | ... +test_run:cmd("push filter 'error: Found uncommitted sync transactions from other instance with id [0-9]+'" .. \ + "to 'error: Found uncommitted sync transactions from other instance with id '") + | --- + | - true + | ... + -- -- gh-1146: Leader election + Qsync -- diff --git a/test/replication/election_qsync_stress.test.lua b/test/replication/election_qsync_stress.test.lua index 0ba15eef7..873aabf00 100644 --- a/test/replication/election_qsync_stress.test.lua +++ b/test/replication/election_qsync_stress.test.lua @@ -1,6 +1,9 @@ test_run = require('test_run').new() netbox = require('net.box') +test_run:cmd("push filter 'error: Found uncommitted sync transactions from other instance with id [0-9]+'" .. \ + "to 'error: Found uncommitted sync transactions from other instance with id '") + -- -- gh-1146: Leader election + Qsync -- diff --git a/test/replication/suite.ini b/test/replication/suite.ini index 6136c934f..a209f0f3c 100644 --- a/test/replication/suite.ini +++ b/test/replication/suite.ini @@ -119,7 +119,7 @@ fragile = { }, "election_qsync_stress.test.lua": { "issues": [ "gh-5395" ], - "checksums": [ "634bda94accdcdef7b1db3e14f28f445", "36bcdae426c18a60fd13025c09f197d0", "209c865525154a91435c63850f15eca0", "ca38ff2cdfa65b3defb26607b24454c6", "3b6c573d2aa06ee382d6f27b6a76657b", "bcf08e055cf3ccd9958af25d0fba29f8", "411e7462760bc3fc968b68b4b7267ea1", "37e671aea27e3396098f9d13c7fa7316" ] + "checksums": [ "133676d72249c570f7124440150a8790", "83e1b4d48bd095590283247352b37ebb", "358bf14addaee9c8f2dbfe64374bb771", "e217688aa8c995123506662a1b07f2d1", "7cbb6b62027df3d1f31ea94f298bc2e0" ] }, "gh-3711-misc-no-restart-on-same-configuration.test.lua": { "issues": [ "gh-5407" ], -- 2.25.1