From: "Alexander V. Tikhonov" <avtikhon@tarantool.org> To: Kirill Yukhin <kyukhin@tarantool.org> Cc: tarantool-patches@dev.tarantool.org Subject: [Tarantool-patches] [PATCH v1 1/2] test: filter output message for test Date: Thu, 5 Nov 2020 17:34:00 +0300 [thread overview] Message-ID: <632416bd4286f1280c956eedb2ffd1e5daa58461.1604586681.git.avtikhon@tarantool.org> (raw) In-Reply-To: <cover.1604586681.git.avtikhon@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 <NUM>'") + | --- + | - 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 <NUM>'") + -- -- 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
next prev parent reply other threads:[~2020-11-05 14:35 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-11-05 14:33 [Tarantool-patches] [PATCH v1 0/2] fix flaky replication/election_qsync_stress.test.lua test Alexander V. Tikhonov 2020-11-05 14:34 ` Alexander V. Tikhonov [this message] 2020-11-05 14:34 ` [Tarantool-patches] [PATCH v1 2/2] test: fix flaky election_qsync_stress with KILL Alexander V. Tikhonov 2020-11-10 8:46 ` [Tarantool-patches] [PATCH v1 0/2] fix flaky replication/election_qsync_stress.test.lua test Serge Petrenko
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=632416bd4286f1280c956eedb2ffd1e5daa58461.1604586681.git.avtikhon@tarantool.org \ --to=avtikhon@tarantool.org \ --cc=kyukhin@tarantool.org \ --cc=tarantool-patches@dev.tarantool.org \ --subject='Re: [Tarantool-patches] [PATCH v1 1/2] test: filter output message for test' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox