From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp37.i.mail.ru (smtp37.i.mail.ru [94.100.177.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 64F52452566 for ; Tue, 5 Nov 2019 15:35:00 +0300 (MSK) From: Vladislav Shpilevoy References: <9f639a706f5dd6c6d9cf53f3ea5715c8c8cdddca.1572644348.git.v.shpilevoy@tarantool.org> Message-ID: <6cad59f7-4088-8691-2d1f-582bdaee5baf@tarantool.org> Date: Tue, 5 Nov 2019 15:40:49 +0300 MIME-Version: 1.0 In-Reply-To: <9f639a706f5dd6c6d9cf53f3ea5715c8c8cdddca.1572644348.git.v.shpilevoy@tarantool.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Tarantool-patches] [PATCH 1/2] replication: don't drop admin super privileges List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tarantool-patches@dev.tarantool.org, kostja.osipov@gmail.com Sorry, found a bug in the test. > diff --git a/test/replication/gh-4606-admin-creds.result b/test/replication/gh-4606-admin-creds.result > new file mode 100644 > index 000000000..de882b34c > --- /dev/null > +++ b/test/replication/gh-4606-admin-creds.result > @@ -0,0 +1,63 @@ > +test_run:switch('replica_auth') > + | --- > + | - true > + | ... > +i = box.info > + | --- > + | ... > +i.replication[(i.id + 1) % 2].upstream.status == 'follow' or i Actually, ID of the other instance is 'i.id % 2 + 1'. I force pushed the fixed test.