[patches] [PATCH 1/1] test: ensure on_disconnect trigger is called on outstanding reqs

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Mon Feb 12 16:45:34 MSK 2018


Closes #2998

Signed-off-by: Vladislav Shpilevoy <v.shpilevoy at tarantool.org>
---
 test/box/net.box.result   | 3 ++-
 test/box/net.box.test.lua | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/test/box/net.box.result b/test/box/net.box.result
index fcd441856..2134aaa91 100644
--- a/test/box/net.box.result
+++ b/test/box/net.box.result
@@ -2082,7 +2082,8 @@ x
 ---
 - 10100
 ...
--- Check that a connection does not leak if there is
+--
+-- gh-2998: check that a connection does not leak if there is
 -- a long CALL in progress when it is closed.
 disconnected = false
 ---
diff --git a/test/box/net.box.test.lua b/test/box/net.box.test.lua
index 378dfd4ab..4d190c22d 100644
--- a/test/box/net.box.test.lua
+++ b/test/box/net.box.test.lua
@@ -850,7 +850,8 @@ x = 0
 for i = 1, N do x = x + long_call_channel:get() end
 x
 
--- Check that a connection does not leak if there is
+--
+-- gh-2998: check that a connection does not leak if there is
 -- a long CALL in progress when it is closed.
 disconnected = false
 function on_disconnect() disconnected = true end
-- 
2.14.3 (Apple Git-98)




More information about the Tarantool-patches mailing list