From: Vladislav Shpilevoy <v.shpilevoy@tarantool.org> To: tarantool-patches@freelists.org, AKhatskevich <avkhatskevich@tarantool.org> Subject: [tarantool-patches] Re: [PATCH 3/4] Tests: separate bootstrap routine to a lua_libs Date: Mon, 23 Jul 2018 16:36:27 +0300 [thread overview] Message-ID: <fa637357-df35-6446-07ab-fe126f6c8b5f@tarantool.org> (raw) In-Reply-To: <93c39ca3ca0a450afaf1e0aaf865933f1b99ffad.1532344376.git.avkhatskevich@tarantool.org> Thank you for working on the patch! 1. Please, do not start commit title with capital letter, when it is related to a subsystem. Here you should write test: separate bootstrap ... On 23/07/2018 14:14, AKhatskevich wrote: > What is moved to `test/lul_libs/bootstrap_test_storage.lua`: 2. 'lul' libs? > 1. create schema > 2. create main stored procedures > 3. `wait_rebalancer_state` procedure > > This code would be reused it further commits. > --- > test/lua_libs/bootstrap_test_storage.lua | 50 ++++++++++++++++++++++ > test/rebalancer/box_1_a.lua | 47 ++------------------ > test/rebalancer/errinj.result | 2 +- > test/rebalancer/errinj.test.lua | 2 +- > test/rebalancer/rebalancer.result | 2 +- > test/rebalancer/rebalancer.test.lua | 2 +- > test/rebalancer/rebalancer_lock_and_pin.result | 2 +- > test/rebalancer/rebalancer_lock_and_pin.test.lua | 2 +- > test/rebalancer/restart_during_rebalancing.result | 2 +- > .../rebalancer/restart_during_rebalancing.test.lua | 2 +- > test/rebalancer/stress_add_remove_rs.result | 2 +- > test/rebalancer/stress_add_remove_rs.test.lua | 2 +- > .../rebalancer/stress_add_remove_several_rs.result | 2 +- > .../stress_add_remove_several_rs.test.lua | 2 +- > test/rebalancer/suite.ini | 2 +- > 15 files changed, 66 insertions(+), 57 deletions(-) > create mode 100644 test/lua_libs/bootstrap_test_storage.lua > > diff --git a/test/lua_libs/bootstrap_test_storage.lua b/test/lua_libs/bootstrap_test_storage.lua > new file mode 100644 > index 0000000..62c2f78 > --- /dev/null > +++ b/test/lua_libs/bootstrap_test_storage.lua 3. Please, just merge it into util. It is actually just util. > diff --git a/test/rebalancer/errinj.result b/test/rebalancer/errinj.result > index d09349e..826c2c6 100644 > --- a/test/rebalancer/errinj.result > +++ b/test/rebalancer/errinj.result > @@ -13,7 +13,7 @@ test_run:create_cluster(REPLICASET_1, 'rebalancer') > test_run:create_cluster(REPLICASET_2, 'rebalancer') > --- > ... > -util = require('util') > +util = require('lua_libs.util') 4. Please, don't. This should disappear when you merge the utils into util.lua. > --- > ... > util.wait_master(test_run, REPLICASET_1, 'box_1_a')
next prev parent reply other threads:[~2018-07-23 13:36 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-07-23 11:14 [tarantool-patches] [PATCH v2] vshard reload mechanism AKhatskevich 2018-07-23 11:14 ` [tarantool-patches] [PATCH 1/4] Add test on error during reconfigure AKhatskevich 2018-07-23 13:18 ` [tarantool-patches] " Vladislav Shpilevoy 2018-07-23 11:14 ` [tarantool-patches] [PATCH 2/4] Complete module reload AKhatskevich 2018-07-23 13:31 ` [tarantool-patches] " Vladislav Shpilevoy 2018-07-23 13:45 ` Alex Khatskevich 2018-07-23 14:58 ` Vladislav Shpilevoy 2018-07-23 11:14 ` [tarantool-patches] [PATCH 3/4] Tests: separate bootstrap routine to a lua_libs AKhatskevich 2018-07-23 13:36 ` Vladislav Shpilevoy [this message] 2018-07-23 17:19 ` [tarantool-patches] " Alex Khatskevich 2018-07-23 11:14 ` [tarantool-patches] [PATCH 4/4] Introduce storage reload evolution AKhatskevich 2018-07-23 14:44 ` [tarantool-patches] " Vladislav Shpilevoy 2018-07-23 20:10 ` Alex Khatskevich 2018-07-30 8:56 [tarantool-patches] [PATCH v4] vshard module reload AKhatskevich 2018-07-30 8:56 ` [tarantool-patches] [PATCH 3/4] tests: separate bootstrap routine to a lua_libs AKhatskevich 2018-08-01 12:03 ` [tarantool-patches] " Vladislav Shpilevoy
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=fa637357-df35-6446-07ab-fe126f6c8b5f@tarantool.org \ --to=v.shpilevoy@tarantool.org \ --cc=avkhatskevich@tarantool.org \ --cc=tarantool-patches@freelists.org \ --subject='[tarantool-patches] Re: [PATCH 3/4] Tests: separate bootstrap routine to a lua_libs' \ /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