Skip to content

Commit 5c1d950

Browse files
author
Sergei Voronezhskii
committed
fixed problem with lsn is not defined
Got this error then testing parallel mode. Fixes: tarantool/tarantool#3895
1 parent 4c3f118 commit 5c1d950

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test_run.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ local function wait_vclock(self, node, to_vclock)
7676
local ok = true
7777
for server_id, to_lsn in pairs(to_vclock) do
7878
local lsn = vclock[server_id]
79-
if lsn < to_lsn then
79+
if lsn == nil or lsn < to_lsn then
8080
ok = false
8181
break
8282
end

0 commit comments

Comments
 (0)