Tarantool development patches archive
 help / color / mirror / Atom feed
From: Sergey Bronnikov via Tarantool-patches <tarantool-patches@dev.tarantool.org>
To: tarantool-patches@dev.tarantool.org, v.shpilevoy@tarantool.org
Subject: [Tarantool-patches] [PATCH v7 2/2] test: fix luacheck warnings in test/replication-py
Date: Thu, 21 Jan 2021 17:47:21 +0300	[thread overview]
Message-ID: <7467c3a4b5fbb7c870f1082cd682983ff4bb41df.1611240117.git.sergeyb@tarantool.org> (raw)
In-Reply-To: <cover.1611240117.git.sergeyb@tarantool.org>

From: Sergey Bronnikov <sergeyb@tarantool.org>

Closes #5462

Reviewed-by: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
Reviewed-by: Igor Munkin <imun@tarantool.org>

Co-authored-by: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
Co-authored-by: Igor Munkin <imun@tarantool.org>
---
 .luacheckrc                     | 1 -
 test/replication-py/master.lua  | 2 +-
 test/replication-py/panic.lua   | 2 +-
 test/replication-py/replica.lua | 4 ----
 4 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/.luacheckrc b/.luacheckrc
index c8c54776e..47770defb 100644
--- a/.luacheckrc
+++ b/.luacheckrc
@@ -37,7 +37,6 @@ exclude_files = {
     "test/engine_long/**/*.lua",
     "test/luajit-tap/**/*.lua",
     "test/replication/*.test.lua",
-    "test/replication-py/**/*.lua",
     "test/sql/**/*.lua",
     "test/swim/**/*.lua",
     "test/var/**/*.lua",
diff --git a/test/replication-py/master.lua b/test/replication-py/master.lua
index e924b5495..b43bafd54 100644
--- a/test/replication-py/master.lua
+++ b/test/replication-py/master.lua
@@ -1,5 +1,5 @@
 #!/usr/bin/env tarantool
-os = require('os')
+local os = require('os')
 box.cfg({
     listen              = os.getenv("LISTEN"),
     memtx_memory        = 107374182,
diff --git a/test/replication-py/panic.lua b/test/replication-py/panic.lua
index 75a738cbb..e72d11419 100644
--- a/test/replication-py/panic.lua
+++ b/test/replication-py/panic.lua
@@ -1,5 +1,5 @@
 #!/usr/bin/env tarantool
-os = require('os')
+local os = require('os')
 box.cfg({
     listen              = os.getenv("LISTEN"),
     memtx_memory        = 107374182,
diff --git a/test/replication-py/replica.lua b/test/replication-py/replica.lua
index 32d888eff..a5fa292d2 100644
--- a/test/replication-py/replica.lua
+++ b/test/replication-py/replica.lua
@@ -1,6 +1,4 @@
 #!/usr/bin/env tarantool
-box_cfg_done = false
-
 require('console').listen(os.getenv('ADMIN'))
 
 box.cfg({
@@ -9,5 +7,3 @@ box.cfg({
     memtx_memory        = 107374182,
     replication_timeout = 0.1
 })
-
-box_cfg_done = true
-- 
2.25.1

  parent reply	other threads:[~2021-01-21 14:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-21 14:47 [Tarantool-patches] [PATCH v7 0/2] Fix luacheck warnings in test/replication and test/replication-py Sergey Bronnikov via Tarantool-patches
2021-01-21 14:47 ` [Tarantool-patches] [PATCH v7 1/2] test: fix luacheck warnings in test/replication Sergey Bronnikov via Tarantool-patches
2021-01-27 22:24   ` Vladislav Shpilevoy via Tarantool-patches
2021-01-29 14:49     ` Sergey Bronnikov via Tarantool-patches
2021-01-30 19:01       ` Vladislav Shpilevoy via Tarantool-patches
2021-01-30 19:48         ` Sergey Bronnikov via Tarantool-patches
2021-01-21 14:47 ` Sergey Bronnikov via Tarantool-patches [this message]
2021-01-31 17:18 ` [Tarantool-patches] [PATCH v7 0/2] Fix luacheck warnings in test/replication and test/replication-py Vladislav Shpilevoy via Tarantool-patches
2021-02-01 12:24 ` Kirill Yukhin via Tarantool-patches

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=7467c3a4b5fbb7c870f1082cd682983ff4bb41df.1611240117.git.sergeyb@tarantool.org \
    --to=tarantool-patches@dev.tarantool.org \
    --cc=sergeyb@tarantool.org \
    --cc=v.shpilevoy@tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH v7 2/2] test: fix luacheck warnings in test/replication-py' \
    /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