commit - e4f024d5923f17fea55f06030635bf8a5675aee1
commit + 58669dd9808e4f157b71791be1818fd03a2e979e
blob - 943a3374b72e6e4e1556ef664e53137205dc18b6
blob + 61e714b5cdb6c251452e2ae8a09be804be7beabd
--- test/tarantool/rw_register_client.lua
+++ test/tarantool/rw_register_client.lua
-- Molly client with read and write operations.
-local dev_checks = require('checks')
local math = require('math')
local net_box = require('net.box')
local molly = require('molly')
local client = molly.client.new()
client.open = function(self, addr)
- dev_checks('table', 'string')
-
rawset(self, 'addr', addr)
local conn = net_box.connect(addr)
if conn:ping() ~= true then
end
client.invoke = function(self, op)
- dev_checks('table', {
- f = 'string',
- v = '?',
- process = '?number',
- time = '?number',
- })
-
if self.conn:ping() ~= true then
error(string.format('No connection to %s', self.addr))
end