From 22208110989aaeda5bb173b58350ea43f3786c22 Mon Sep 17 00:00:00 2001
From: Alexandr Lyapunov <a.lyapunov@corp.mail.ru>
Date: Mon, 8 Feb 2016 18:35:23 +0300
Subject: [PATCH] fixed gh-1320 long run test hangs on finalizers.test

---
 test/long_run/lua/finalizers.lua | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/test/long_run/lua/finalizers.lua b/test/long_run/lua/finalizers.lua
index 25641d2e38..69146a3231 100644
--- a/test/long_run/lua/finalizers.lua
+++ b/test/long_run/lua/finalizers.lua
@@ -1,8 +1,4 @@
 #!/usr/bin/env tarantool
-env = require('test_run')
-test_run = env.new()
-
-test_run:cmd("setopt delimiter ';'")
 
 function on_gc(t)
 end;
@@ -12,14 +8,12 @@ function test_finalizers()
     local i = 1
     local ffi = require('ffi')
     while true do
-        result[i] = ffi.gc(ffi.cast('void *', NULL), on_gc)
+        result[i] = ffi.gc(ffi.cast('void *', 0), on_gc)
         i = i + 1
     end
     return "done"
 end;
 
-test_run:cmd("setopt delimiter ''")
-
 test_finalizers()
 test_finalizers()
 
-- 
GitLab