Skip to content
Snippets Groups Projects
Commit 3cb72635 authored by Nikolay Shirokovskiy's avatar Nikolay Shirokovskiy Committed by Vladimir Davydov
Browse files

test: cherry-pick fix for memtx_gc_after_snapshot_test

This is part of master commit bd4c6675 ("memtx: use MemtxAllocator
stats for box.info.memory"). The test is failed without the patch in
ASAN build.

Follow-up #7327

NO_CHANGELOG=test fix
NO_DOC=test fix
parent 9b74cb80
No related branches found
No related tags found
No related merge requests found
......@@ -31,6 +31,7 @@ g.test_memtx_gc_after_snapshot = function(cg)
box.space.test:delete(i)
end
box.commit()
box.tuple.new() -- drop blessed tuple ref
collectgarbage('collect') -- drop Lua refs
local mem_used_3 = box.info.memory().data
t.assert_gt(mem_used_2 - mem_used_3, 1000000)
......
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