From: roman.habibov1@yandex.ru To: Alexander Turenko <alexander.turenko@tarantool.org> Cc: "tarantool-patches@freelists.org" <tarantool-patches@freelists.org>, Kirill Shcherbatov <kshcherbatov@tarantool.org> Subject: [tarantool-patches] Re: [PATCH 2/2] test: add output filtering feature Date: Sat, 22 Sep 2018 01:25:45 +0300 [thread overview] Message-ID: <8261571537568745@myt4-ec1fcebe7be6.qloud-c.yandex.net> (raw) In-Reply-To: <20180921025347.ommfgqpn7v35vi6p@tkn_work_nb> Hi! Thanks for review/ > > On Fri, Sep 21, 2018 at 03:54:42AM +0300, roman.habibov1@yandex.ru wrote: >> Add output filtering feature for engine/savepoint.test. >> >> Part of #3518. >> --- >> commit b8be4c51e29110f459bd58dba51d6546cd9da25b >> Author: Roman Khabibov <roman.habibov1@yandex.ru> >> Date: Fri Sep 21 03:28:04 2018 +0300 >> >> test: add output filtering feature > > Please, describe the change in less abstract manner, like 'test: filter > line numbers from engine/savepoint'. Now the description looks like you > are implement this feature from scratch. Done. commit a3110d84a171ab886612fe89d2094e2e3bd30f7f Author: Roman Khabibov <roman.habibov1@yandex.ru> Date: Fri Sep 21 03:28:04 2018 +0300 test: filter line numbers from engine/savepoint Part of #3518 diff --git a/test/engine/savepoint.result b/test/engine/savepoint.result index a62a2e1..b3a918d 100644 --- a/test/engine/savepoint.result +++ b/test/engine/savepoint.result @@ -4,6 +4,10 @@ env = require('test_run') test_run = env.new() --- ... +test_run:cmd("push filter '(.builtin/.*.lua):[0-9]+' to '\\1'") +--- +- true +... -- gh-2025 box.savepoint s1 = nil --- @@ -14,7 +18,7 @@ s1 = box.savepoint() ... box.rollback_to_savepoint(s1) --- -- error: 'builtin/box/schema.lua:340: Usage: box.rollback_to_savepoint(savepoint)' +- error: 'builtin/box/schema.lua: Usage: box.rollback_to_savepoint(savepoint)' ... box.begin() s1 = box.savepoint() --- @@ -323,27 +327,27 @@ test_run:cmd("setopt delimiter ''"); ok1, errmsg1 --- - false -- 'builtin/box/schema.lua:340: Usage: box.rollback_to_savepoint(savepoint)' +- 'builtin/box/schema.lua: Usage: box.rollback_to_savepoint(savepoint)' ... ok2, errmsg2 --- - false -- 'builtin/box/schema.lua:340: Usage: box.rollback_to_savepoint(savepoint)' +- 'builtin/box/schema.lua: Usage: box.rollback_to_savepoint(savepoint)' ... ok3, errmsg3 --- - false -- 'builtin/box/schema.lua:340: Usage: box.rollback_to_savepoint(savepoint)' +- 'builtin/box/schema.lua: Usage: box.rollback_to_savepoint(savepoint)' ... ok4, errmsg4 --- - false -- 'builtin/box/schema.lua:340: Usage: box.rollback_to_savepoint(savepoint)' +- 'builtin/box/schema.lua: Usage: box.rollback_to_savepoint(savepoint)' ... ok5, errmsg5 --- - false -- 'builtin/box/schema.lua:340: Usage: box.rollback_to_savepoint(savepoint)' +- 'builtin/box/schema.lua: Usage: box.rollback_to_savepoint(savepoint)' ... s:select{} --- diff --git a/test/engine/savepoint.test.lua b/test/engine/savepoint.test.lua index de8f297..186ef85 100644 --- a/test/engine/savepoint.test.lua +++ b/test/engine/savepoint.test.lua @@ -1,5 +1,6 @@ env = require('test_run') test_run = env.new() +test_run:cmd("push filter '(.builtin/.*.lua):[0-9]+' to '\\1'") -- gh-2025 box.savepoint
next prev parent reply other threads:[~2018-09-21 22:25 UTC|newest] Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-09-07 1:00 [tarantool-patches] [PATCH] box: add a method to check if transaction is open Roman Khabibov 2018-09-10 6:21 ` [tarantool-patches] " Kirill Shcherbatov 2018-09-11 0:23 ` roman.habibov1 2018-09-11 0:25 ` roman.habibov1 2018-09-11 11:51 ` Kirill Shcherbatov 2018-09-19 13:38 ` Alexander Turenko 2018-09-21 0:54 ` [tarantool-patches] Re: [PATCH 1/1] " roman.habibov1 2018-09-21 2:41 ` Alexander Turenko 2018-09-21 22:29 ` roman.habibov1 2018-09-22 1:00 ` Alexander Turenko 2018-09-23 10:11 ` Vladislav Shpilevoy 2018-09-21 0:54 ` [tarantool-patches] Re: [PATCH 2/2] test: add output filtering feature roman.habibov1 2018-09-21 2:53 ` Alexander Turenko 2018-09-21 22:25 ` roman.habibov1 [this message] 2018-09-24 8:38 ` [tarantool-patches] Re: [PATCH] box: add a method to check if transaction is open Kirill Yukhin
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=8261571537568745@myt4-ec1fcebe7be6.qloud-c.yandex.net \ --to=roman.habibov1@yandex.ru \ --cc=alexander.turenko@tarantool.org \ --cc=kshcherbatov@tarantool.org \ --cc=tarantool-patches@freelists.org \ --subject='[tarantool-patches] Re: [PATCH 2/2] test: add output filtering feature' \ /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