From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp46.i.mail.ru (smtp46.i.mail.ru [94.100.177.106]) (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 881B745C305 for ; Tue, 8 Dec 2020 19:00:05 +0300 (MSK) From: "Alexander V. Tikhonov" Date: Tue, 8 Dec 2020 19:00:03 +0300 Message-Id: <83b8e393ad82dd9eb40271b62bb1258ad72cee38.1607443162.git.avtikhon@tarantool.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH v1] test: add test filter for vinyl/errinj.test.lua List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kirill Yukhin Cc: tarantool-patches@dev.tarantool.org Cc: tarantool-patches@dev.tarantool.org Added test-run filter on box.snapshot error message: 'Invalid VYLOG file: Slice [0-9]+ deleted but not registered' 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. Needed for #4346 --- Github: https://github.com/tarantool/tarantool/tree/avtikhon/gh-4346-filter-output Issue: https://github.com/tarantool/tarantool/issues/4346 test/vinyl/errinj.result | 5 +++++ test/vinyl/errinj.test.lua | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/test/vinyl/errinj.result b/test/vinyl/errinj.result index bf49f4e46..6f12e2b4a 100644 --- a/test/vinyl/errinj.result +++ b/test/vinyl/errinj.result @@ -10,6 +10,11 @@ fiber = require('fiber') errinj = box.error.injection --- ... +test_run:cmd("push filter 'Invalid VYLOG file: Slice [0-9]+ deleted but not registered'" .. \ + "to 'Invalid VYLOG file: Slice deleted but not registered'") +--- +- true +... -- -- Lost data in case of dump error -- diff --git a/test/vinyl/errinj.test.lua b/test/vinyl/errinj.test.lua index 2c8121364..cdc695e1b 100644 --- a/test/vinyl/errinj.test.lua +++ b/test/vinyl/errinj.test.lua @@ -2,6 +2,10 @@ test_run = require('test_run').new() fio = require('fio') fiber = require('fiber') errinj = box.error.injection + +test_run:cmd("push filter 'Invalid VYLOG file: Slice [0-9]+ deleted but not registered'" .. \ + "to 'Invalid VYLOG file: Slice deleted but not registered'") + -- -- Lost data in case of dump error -- -- 2.25.1