From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 1D2616465D; Thu, 21 Jan 2021 17:48:31 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 1D2616465D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1611240511; bh=UJX9t8N8Tz8hN2cy6T+Gmu6WQjjJRRWCKNgeXTxuuLk=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=k3ro++EXJq3GRhRwitVY8a6TqIPzbqwaGqFV9R6dzxerU2gnYgNRaBu8FNZwUCiul eS2F1jmPRQbe4meJaP64OKKv6sO4EymrPbAVxYM9it83qk9GQuY19VrJn6QFPxxvve 5WXWuKyH+zWx1CUNUrUylqQhHzhfWv/hAuHRC1t8= Received: from smtpng3.m.smailru.net (smtpng3.m.smailru.net [94.100.177.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 3D38485DED for ; Thu, 21 Jan 2021 17:47:36 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 3D38485DED Received: by smtpng3.m.smailru.net with esmtpa (envelope-from ) id 1l2bFH-0004d3-6D; Thu, 21 Jan 2021 17:47:35 +0300 To: tarantool-patches@dev.tarantool.org, v.shpilevoy@tarantool.org Date: Thu, 21 Jan 2021 17:47:21 +0300 Message-Id: <7467c3a4b5fbb7c870f1082cd682983ff4bb41df.1611240117.git.sergeyb@tarantool.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-7564579A: 78E4E2B564C1792B X-77F55803: 4F1203BC0FB41BD9FAB20BF8F07590361F883363FE8F530CE4A6DE51A314C9A4182A05F538085040AE225817996E3FCCD9971B01CCF6B2F790C22E106D0848D389A28CFF17B4F31A X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE73AA63C5F29446501EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F79006376AFB9B40001E44068638F802B75D45FF5571747095F342E8C7A0BC55FA0FE5FCBF320FA984F2B761F929A8B58388EC6ECF55D8BC1FD161D1389733CBF5DBD5E913377AFFFEAFD269176DF2183F8FC7C0A3E989B1926288338941B15DA834481FCF19DD082D7633A0EF3E4896CB9E6436389733CBF5DBD5E9D5E8D9A59859A8B636DA1BED736F9328CC7F00164DA146DA6F5DAA56C3B73B23C77107234E2CFBA567F23339F89546C55F5C1EE8F4F765FCF8E90A1DD246484F75ECD9A6C639B01BBD4B6F7A4D31EC0BC0CAF46E325F83A522CA9DD8327EE4931B544F03EFBC4D571337B709B3801B10C4224003CC836476C0CAF46E325F83A50BF2EBBBDD9D6B0F05F538519369F3743B503F486389A921A5CC5B56E945C8DA X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975C2549B6A8B600A67A031811672DB0C7A858B9E4530D889F629C2B6934AE262D3EE7EAB7254005DCED7532B743992DF240BDC6A1CF3F042BAD6DF99611D93F60EF6EA1BA7CA28B4A74699F904B3F4130E343918A1A30D5E7FCCB5012B2E24CD356 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D342C0B628602DFD0BC7E76440C0538CBDF52A22E4F6DC050F6E5BFEF03B216E38401EE5504720750CD1D7E09C32AA3244CACAD1E236D13C895911C316DC7B0F5AB725D5B54B2FE4575927AC6DF5659F194 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojYT//mZRaUehNZlbJ2j6QGA== X-Mailru-Sender: 689FA8AB762F73936BC43F508A063822E1008CB18974D8FB98C46E030D7290DFDD788429FD8613638ED9BB8B05EE7B3AFB559BB5D741EB96D19CD4E7312BAA970A04DAD6CC59E33667EA787935ED9F1B X-Mras: Ok Subject: [Tarantool-patches] [PATCH v7 2/2] test: fix luacheck warnings in test/replication-py X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Sergey Bronnikov via Tarantool-patches Reply-To: sergeyb@tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" From: Sergey Bronnikov Closes #5462 Reviewed-by: Vladislav Shpilevoy Reviewed-by: Igor Munkin Co-authored-by: Vladislav Shpilevoy Co-authored-by: Igor Munkin --- .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