Tarantool development patches archive
 help / color / mirror / Atom feed
From: Alexander Turenko <alexander.turenko@tarantool.org>
To: Sergei Voronezhskii <sergw@tarantool.org>
Cc: tarantool-patches@freelists.org
Subject: [tarantool-patches] Re: [PATCH v2] test: enable parallel mode for wall_off tests
Date: Wed, 19 Sep 2018 19:57:50 +0300	[thread overview]
Message-ID: <20180919165750.ew3lv22q3gbtxdew@tkn_work_nb> (raw)
In-Reply-To: <20180918161025.21769-1-sergw@tarantool.org>

Hi!

Comments are below.

WBR, Alexander Turenko.

Maybe we should place the fix on top of 1.9. I asked Kostya O. and
Kirill Yu. about that in the chat, please ping them and proceed
appropriately.

> enable parallel mode for wall_off tests

wall -> wal

> diff --git a/test/wal_off/lua.test.lua b/test/wal_off/lua.test.lua
> index 7daf9f3f6..02ec9e795 100644
> --- a/test/wal_off/lua.test.lua
> +++ b/test/wal_off/lua.test.lua
> @@ -1,5 +1,6 @@
>  env = require('test_run')
>  test_run = env.new()
> +test_run:cmd("restart server default with cleanup=1")

So the approach is to restart the server with clean up for each tests.
It will slows down the execution. The another way you propose (w/ spaces
renaming) seems to be better for me.

Anyway, you don't describe a reason why exactly this is needed. How we
can meet an inconsistent state if a server was not restarted or
restarted with clean up? I propose to describe problems you fix in the
commit message, otherwise I'll need to investigate the issue again after
you to understand it and give the review.

  reply	other threads:[~2018-09-19 16:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-17 13:11 [tarantool-patches] [PATCH] " Sergei Voronezhskii
2018-09-17 13:31 ` [tarantool-patches] " Alexander Turenko
2018-09-18 16:10   ` [tarantool-patches] [PATCH v2] " Sergei Voronezhskii
2018-09-19 16:57     ` Alexander Turenko [this message]
2018-09-21 12:44       ` [tarantool-patches] [PATCH] test: enable parallel mode for wal_off tests Sergei Voronezhskii
2018-09-22  1:44         ` Alexander Turenko
2018-09-23 22:40           ` Re[2]: " Sergei Voronezhskii
2018-09-23 22:53             ` [tarantool-patches] " Alexander Turenko
2018-09-25 17:10           ` Vladimir Davydov
2018-09-25 17:44             ` Alexander Turenko
2018-11-27 13:09       ` Re[2]: [PATCH v2] test: enable parallel mode for wall_off tests Sergei Voronezhskii
2018-11-28 14:11 ` [tarantool-patches] Re: [PATCH] " 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=20180919165750.ew3lv22q3gbtxdew@tkn_work_nb \
    --to=alexander.turenko@tarantool.org \
    --cc=sergw@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --subject='[tarantool-patches] Re: [PATCH v2] test: enable parallel mode for wall_off tests' \
    /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