Closed
Description
Now log sometimes seems not to work at all, and even it works, it must be saved when tests are completed.
pg.test_abort_readers_of_insertion = function(cg)
t.tarantool.skip_if_not_debug()
require('log').error('XXXXX 1') -- I don't see this message anywhere
cg.server:exec(function(idx)
require('log').info('XXXXX 2') -- I see this only while the test runs, the log file disappears then.
require('fiber').sleep(10)
Sometimes logs are the only thing that helps to understand what's going on. So we should always write them and don't clean them after the test is finished. Perhaps we should clean the log right before the test is run.