From 5c1d950b9be3bd6bafe59e5d742bbfe96d15737b Mon Sep 17 00:00:00 2001 From: Sergei Voronezhskii Date: Fri, 19 Oct 2018 04:15:06 +0300 Subject: [PATCH] fixed problem with lsn is not defined Got this error then testing parallel mode. Fixes: https://github.com/tarantool/tarantool/issues/3895 --- test_run.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_run.lua b/test_run.lua index 99b1cc49..b9d74a32 100644 --- a/test_run.lua +++ b/test_run.lua @@ -76,7 +76,7 @@ local function wait_vclock(self, node, to_vclock) local ok = true for server_id, to_lsn in pairs(to_vclock) do local lsn = vclock[server_id] - if lsn < to_lsn then + if lsn == nil or lsn < to_lsn then ok = false break end