diff --git a/test/box/net.box.result b/test/box/net.box.result index b3b2161830a59f6ef4e3f560a44565c8e407b8d6..dc4bf6dd1a1b1e7c53758cd3d39ed23ba97085a6 100644 --- a/test/box/net.box.result +++ b/test/box/net.box.result @@ -1397,13 +1397,13 @@ sock:write(data) --- - 104 ... -sock:close() +test_run:wait_log('default', 'ER_INVALID_MSGPACK: Invalid MsgPack %- packet length', nil, 10) --- -- true +- 'ER_INVALID_MSGPACK: Invalid MsgPack - packet length' ... -test_run:grep_log('default', 'ER_INVALID_MSGPACK.*') +sock:close() --- -- 'ER_INVALID_MSGPACK: Invalid MsgPack - packet length' +- true ... -- gh-983 selecting a lot of data crashes the server or hangs the -- connection diff --git a/test/box/net.box.test.lua b/test/box/net.box.test.lua index 4ec9e8c958e66a4d5cd5aa51a21e9249546e651d..48f047fc7be77b14b3863e2cf732ff18fb980162 100644 --- a/test/box/net.box.test.lua +++ b/test/box/net.box.test.lua @@ -547,8 +547,8 @@ socket = require("socket") sock = socket.tcp_connect(LISTEN.host, LISTEN.service) data = string.fromhex("6783000000000000000000000000000000000000000000800000C8000000000000000000000000000000000000000000FFFF210100373208000000FFFF000055AAEB66486472530D02000000000010A0350001008000001000000000000000000000000000D05700") sock:write(data) +test_run:wait_log('default', 'ER_INVALID_MSGPACK: Invalid MsgPack %- packet length', nil, 10) sock:close() -test_run:grep_log('default', 'ER_INVALID_MSGPACK.*') -- gh-983 selecting a lot of data crashes the server or hangs the -- connection