Skip to content
Snippets Groups Projects
Commit e661e732 authored by Roman Tsisyk's avatar Roman Tsisyk
Browse files

Increase packet size for "timedout" test in box/socket.test, Bug#1192951

parent 5dcc6f76
No related merge requests found
......@@ -133,7 +133,7 @@ lua s:error()
- 0
- Success
...
lua n, status, error_code, error_str = s:send(string.rep('=', 200000), 0.0000001)
lua n, status, error_code, error_str = s:send(string.rep('=', 8388608), 0.0000001)
---
...
lua type(n)
......
......@@ -82,8 +82,8 @@ exec admin "lua type(s:connect('127.0.0.1', '30303'))"
exec admin "lua s:send('ping')"
exec admin "lua s:error()"
# timedout
exec admin "lua n, status, error_code, error_str = s:send(string.rep('=', 200000), 0.0000001)"
# timedout - try to send 64MB (8388608 * 8 bytes) in 0.0000001 sec
exec admin "lua n, status, error_code, error_str = s:send(string.rep('=', 8388608), 0.0000001)"
exec admin "lua type(n)"
exec admin "lua type(status)"
exec admin "lua type(error_code)"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment