From: "Alexander V. Tikhonov" <avtikhon@tarantool.org> To: Vladimir Davydov <vdavydov.dev@gmail.com> Cc: "Alexander V. Tikhonov" <avtikhon@tarantool.org>, tarantool-patches@freelists.org Subject: [PATCH v1] test: enable unix sockets at sql-tap suite Date: Thu, 15 Aug 2019 07:29:36 +0300 [thread overview] Message-ID: <f9744199816a83622787d37d44378bb5bdd8326e.1565843294.git.avtikhon@tarantool.org> (raw) Enable unix sockets for iproto connections in sql-tap suite and use it at sql-tap/gh-4077-iproto-execute-no-bind test. Enabled use_unix_sockets_iproto option to use unix sockets, which provides the new way to handle the problem with 'Address already in use' error. It lets test-run appoint unix sockets for LISTEN environment variable values. Check the previous commit for the other suites: 60f84cbfca24e3a91cea067c923e006b44ee589f ('test: use unix sockets for iproto connections') Follows up #4008 --- Github: https://github.com/tarantool/tarantool/tree/avtikhon/gh-4008-unix_sockets_iproto_sql_tap Issue: https://github.com/tarantool/tarantool/issues/4008 test/sql-tap/gh-4077-iproto-execute-no-bind.test.lua | 2 +- test/sql-tap/suite.ini | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/test/sql-tap/gh-4077-iproto-execute-no-bind.test.lua b/test/sql-tap/gh-4077-iproto-execute-no-bind.test.lua index d4b597e35..d9b93b079 100755 --- a/test/sql-tap/gh-4077-iproto-execute-no-bind.test.lua +++ b/test/sql-tap/gh-4077-iproto-execute-no-bind.test.lua @@ -16,7 +16,7 @@ local IPROTO_SCHEMA_VERSION = 0x05 local IPROTO_STATUS_KEY = 0x00 box.cfg({ - listen = os.getenv('LISTEN') or 'localhost:3301', + listen = os.getenv('LISTEN') or 'unix/:3301', }) box.schema.user.grant('guest', 'read,write,execute', 'universe') diff --git a/test/sql-tap/suite.ini b/test/sql-tap/suite.ini index 2dfae4442..cba1d1fc6 100644 --- a/test/sql-tap/suite.ini +++ b/test/sql-tap/suite.ini @@ -24,6 +24,8 @@ disabled = selectA.test.lua ; lua_libs = lua/sqltester.lua ../sql/lua/sql_tokenizer.lua ../box/lua/identifier.lua is_parallel = True +use_unix_sockets = True +use_unix_sockets_iproto = True release_disabled = debug_mode_only.test.lua long_run = gh-3332-tuple-format-leak.test.lua, gh-3083-ephemeral-unref-tuples.test.lua config = engine.cfg -- 2.17.1
reply other threads:[~2019-08-15 4:29 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=f9744199816a83622787d37d44378bb5bdd8326e.1565843294.git.avtikhon@tarantool.org \ --to=avtikhon@tarantool.org \ --cc=tarantool-patches@freelists.org \ --cc=vdavydov.dev@gmail.com \ --subject='Re: [PATCH v1] test: enable unix sockets at sql-tap suite' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox