Skip to content
Snippets Groups Projects
Commit 405446e0 authored by Vladislav Shpilevoy's avatar Vladislav Shpilevoy
Browse files

Fix net.box test

parent 94569f65
No related branches found
No related tags found
No related merge requests found
......@@ -1758,9 +1758,9 @@ nb = net.new('localhost:3392', {
});
---
...
nb.error;
nb.error:find('timed out') ~= nil;
---
- Operation timed out
- true
...
nb:close();
---
......
......@@ -701,7 +701,7 @@ nb = net.new('localhost:3392', {
wait_connected = true, console = true,
connect_timeout = 0.01
});
nb.error;
nb.error:find('timed out') ~= nil;
nb:close();
-- we must get peer closed
nb = net.new('localhost:3392', {
......
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