commit d32b2fe90d4d0595c13f1014f391c463c3780cbb from: Sergey Bronnikov date: Fri Sep 06 15:08:27 2024 UTC test: enable remote console for debug The remote console is enabled for debugging purposes. It can be helpful when Tarantool is stuck and one need an access to console to gather an additional information about Tarantool (like `fiber.info` output or anything else). NO_CHANGELOG=testing NO_DOC=testing commit - 9dbaa6a9bc0d65984b417f8a76aa8373b6125d16 commit + d32b2fe90d4d0595c13f1014f391c463c3780cbb blob - aed334757e3036671e14dfae779f9fd4b3c91ae1 blob + 8acc57863fc60ed05e320d716f53eeee31bae167 --- test/fuzz/lua/test_engine.lua +++ test/fuzz/lua/test_engine.lua @@ -12,6 +12,7 @@ testing if it exists. Usage: tarantool test_engine.lua ]] +local console = require('console') local fiber = require('fiber') local fio = require('fio') local fun = require('fun') @@ -1372,6 +1373,10 @@ end local function run_test(num_workers, test_duration, test_dir, engine_name, verbose_mode) + local socket_path = ('unix/:/%s/console.sock'):format(fio.abspath(test_dir)) + console.listen(socket_path) + log.info(('console listen on %s'):format(socket_path)) + if fio.path.exists(test_dir) then cleanup_dir(test_dir) else