[Tarantool-patches] [PATCH v7 1/2] test: fix luacheck warnings in test/replication
Vladislav Shpilevoy
v.shpilevoy at tarantool.org
Thu Jan 28 01:24:26 MSK 2021
Hi! Thanks for the patch!
> diff --git a/test/replication/replica_quorum.lua b/test/replication/replica_quorum.lua
> index 8dfad8b6e..80886e1c4 100644
> --- a/test/replication/replica_quorum.lua
> +++ b/test/replication/replica_quorum.lua
> @@ -5,9 +5,9 @@ local SOCKET_DIR = require('fio').cwd()
> local QUORUM = tonumber(arg[1])
> local TIMEOUT = arg[2] and tonumber(arg[2]) or 0.1
> local CONNECT_TIMEOUT = arg[3] and tonumber(arg[3]) or 10
> -INSTANCE_URI = SOCKET_DIR .. '/replica_quorum.sock'
> +INSTANCE_URI = SOCKET_DIR .. '/replica_quorum.sock' -- luacheck: ignore
>
> -function nonexistent_uri(id)
> +function nonexistent_uri(id) -- luacheck: ignore
> return SOCKET_DIR .. '/replica_quorum' .. (1000 + id) .. '.sock'
> end
I reverted this file entirely, and the check passed.
More information about the Tarantool-patches
mailing list