Skip to content
Snippets Groups Projects
Commit c90a227e authored by Yaroslav Lobankov's avatar Yaroslav Lobankov Committed by Yaroslav Lobankov
Browse files

luatest: use /tmp/t as default socket dir

This patch changes the length of default socket paths for luatest tests
(when the VARDIR environment variable is not defined). It should reduce
the chance for the issue with the max length of socket paths (107 chars)
to happen.

NO_DOC=testing stuff
NO_TEST=testing stuff
NO_CHANGELOG=testing stuff
parent 7ae22101
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ Server.constructor_checks = fun.chain(Server.constructor_checks, {
engine = '?string',
}):tomap()
Server.socketdir = fio.abspath(os.getenv('VARDIR') or 'test/var')
Server.socketdir = fio.abspath(os.getenv('VARDIR') or '/tmp/t')
function Server.build_instance_uri(alias)
return ('%s/%s.iproto'):format(Server.socketdir, alias)
......
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