You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add memory leak detection during server process execution
Memory leak detection may occur when working with the server:
g.test_foo = function()
...
g.server:exec(function()
-- there is an error from LeakSanitizer in `stderr` here
end)
g.server:exec(function()
-- server is alive
end)
t.assert(true)
end)
g.after_all(function()
g.server:drop() -- `test_foo` has passed
end)
We have added a check for the `LeakSanitizer` substring in `stderr` of
the server process. If it's found, an error will be thrown and test will
fail.
Closes#349
0 commit comments