From: Cyrill Gorcunov <gorcunov@gmail.com> To: Serge Petrenko <sergepetrenko@tarantool.org> Cc: tml <tarantool-patches@dev.tarantool.org> Subject: Re: [Tarantool-patches] [PATCH v11 8/8] test: add replication/applier-rollback Date: Tue, 7 Apr 2020 13:55:05 +0300 [thread overview] Message-ID: <20200407105505.GD3072@uranus> (raw) In-Reply-To: <AED406E3-B951-422A-8204-77A2E13A2462@tarantool.org> On Tue, Apr 07, 2020 at 01:26:34PM +0300, Serge Petrenko wrote: > > test/replication/applier-rollback.test.lua | 81 ++++++++++ > > It’s a bugfix, so please name the test gh-4730-something-something.test.lua OK, will do. > > --- /dev/null > > +++ b/test/replication/applier-rollback-slave.lua > > Better name it replica_applier_rollback.lua for the sake of consistency > with other instance file names. ok. I don't have any preference on naming, will do. > > + > > +errinj = box.error.injection > > You don’t need the errinj on master, only on replica, AFAICS. yea, sorry, thanks! > > > +engine = test_run:get_cfg('engine') > > Why test both engines? I suggest you run the test with no arguments. > (you’ll have to add a line to replication/suite.cfg for that) Will take a look, thanks! > > +-- > > +-- To make sure we're running > > +box.info.status > > + > > This should always evaluate to ‘running’, you’ve just inserted some > values and got a result back, so I’d omit this check. Indeed, thanks! > > +-- > > +-- Cleanup > > +test_run:cmd("stop server replica_slave") > > +test_run:cmd("delete server replica_slave") > > +box.cfg{replication=""} > > You didn’t set box.cfg.replication, so you shouldn’t reset it. +1 Cyrill
next prev parent reply other threads:[~2020-04-07 10:55 UTC|newest] Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-04-04 16:15 [Tarantool-patches] [PATCH v11 0/8] box/replication: prevent nil dereference on applier rollback Cyrill Gorcunov 2020-04-04 16:15 ` [Tarantool-patches] [PATCH v11 1/8] box: fix bootstrap comment Cyrill Gorcunov 2020-04-05 7:31 ` Konstantin Osipov 2020-04-05 7:56 ` Cyrill Gorcunov 2020-04-05 8:35 ` Konstantin Osipov 2020-04-04 16:15 ` [Tarantool-patches] [PATCH v11 2/8] box/alter: shrink txn_alter_trigger_new code Cyrill Gorcunov 2020-04-06 7:39 ` Konstantin Osipov 2020-04-04 16:15 ` [Tarantool-patches] [PATCH v11 3/8] box/request: add missing OutOfMemory diag_set Cyrill Gorcunov 2020-04-04 16:15 ` [Tarantool-patches] [PATCH v11 4/8] box/applier: add missing diag_set on region_alloc failure Cyrill Gorcunov 2020-04-04 16:15 ` [Tarantool-patches] [PATCH v11 5/8] box/replication: merge replica_by_id into replicaset Cyrill Gorcunov 2020-04-06 7:40 ` Konstantin Osipov 2020-04-04 16:15 ` [Tarantool-patches] [PATCH v11 6/8] applier: reduce applier_txn_rollback_cb code density Cyrill Gorcunov 2020-04-06 7:40 ` Konstantin Osipov 2020-04-04 16:15 ` [Tarantool-patches] [PATCH v11 7/8] box/applier: prevent nil dereference on applier rollback Cyrill Gorcunov 2020-04-07 10:36 ` Serge Petrenko 2020-04-04 16:15 ` [Tarantool-patches] [PATCH v11 8/8] test: add replication/applier-rollback Cyrill Gorcunov 2020-04-07 10:26 ` Serge Petrenko 2020-04-07 10:55 ` Cyrill Gorcunov [this message] 2020-04-07 10:46 ` [Tarantool-patches] [PATCH v11 0/8] box/replication: prevent nil dereference on applier rollback Serge Petrenko 2020-04-07 11:00 ` Cyrill Gorcunov
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=20200407105505.GD3072@uranus \ --to=gorcunov@gmail.com \ --cc=sergepetrenko@tarantool.org \ --cc=tarantool-patches@dev.tarantool.org \ --subject='Re: [Tarantool-patches] [PATCH v11 8/8] test: add replication/applier-rollback' \ /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