Skip to content
Snippets Groups Projects
Commit 31d5da8c authored by Dmitry Simonenko's avatar Dmitry Simonenko
Browse files

sophia-gh-678: update to use CWD scheme

parent f1ab1cc4
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@ local default_cfg = {
work_dir = nil,
snap_dir = ".",
wal_dir = ".",
sophia_dir = './sophia',
sophia_dir = '.',
sophia = default_sophia_cfg,
logger = nil,
logger_nonblock = true,
......
......@@ -8,6 +8,10 @@ function sophia_printdir()
return ls
end
function sophia_mkdir(dir)
os.execute("mkdir sophia_test")
end
function sophia_rmdir(dir)
os.execute("rm -rf sophia_test")
end
......@@ -24,6 +28,7 @@ end
if not file_exists("lock") then
sophia_rmdir()
sophia_mkdir()
end
local sophia = {
......@@ -38,7 +43,7 @@ box.cfg {
slab_alloc_arena = 0.1,
pid_file = "tarantool.pid",
rows_per_wal = 50,
sophia_dir = "sophia_test",
sophia_dir = "./sophia_test",
sophia = sophia
}
......
Subproject commit 4a9b77cbad39976ec40efaa0cb2e66bdaf810d41
Subproject commit 173534aea02a6ef14e4fc7f517d0123da3be6301
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