From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 19 Jul 2019 11:41:41 +0300 From: Kirill Yukhin Subject: Re: [tarantool-patches] [PATCH] test: fix another net.box failure Message-ID: <20190719084141.vo44qidxxxavyxca@tarantool.org> References: <20190719065207.3531-1-sergepetrenko@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190719065207.3531-1-sergepetrenko@tarantool.org> To: tarantool-patches@freelists.org Cc: vdavydov.dev@gmail.com, Serge Petrenko List-ID: Hello, On 19 Jul 09:52, Serge Petrenko wrote: > This last error > ``` > [035] ... > [035] disconnected_cnt > [035] --- > [035] -- 1 > [035] +- 2 > [035] ... > [035] conn:close() > [035] --- > [035] ... > [035] disconnected_cnt > [035] --- > [035] -- 2 > [035] +- 3 > [035] ... > [035] test_run:cmd('stop server connecter') > [035] --- > [035] > ``` > Happens because net.box is able to connect to tarantool before it has > finished bootstrap. When connecting, net.box tries to fetch schema > executing a couple of selects, but fails to pass access check since > grants aren't applied yet. This is described in detail in > https://github.com/tarantool/tarantool/issues/2763#issuecomment-499046998 > So, alter the test so that it tolerates multiple connection failures. > > Closes #4273 > --- > https://github.com/tarantool/tarantool/issues/4273 > https://github.com/tarantool/tarantool/tree/sp/gh-4273-netbox I've checked your patch into 1.10, 2.1 and master. -- Regards, Kirill Yukhin