From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp49.i.mail.ru (smtp49.i.mail.ru [94.100.177.109]) (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 5FBCD469710 for ; Tue, 17 Nov 2020 19:14:13 +0300 (MSK) From: sergeyb@tarantool.org Date: Tue, 17 Nov 2020 19:13:49 +0300 Message-Id: <41492964d52aa46391a621e640f1ffc83bf5a0b0.1605629206.git.sergeyb@tarantool.org> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH 1/4] replication: run clear_synchro_queue() with unconfigured box List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tarantool-patches@dev.tarantool.org, v.shpilevoy@tarantool.org From: Sergey Bronnikov Part of #4849 --- test/app-tap/cfg.test.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/test/app-tap/cfg.test.lua b/test/app-tap/cfg.test.lua index ba6b735ab..3d89a5167 100755 --- a/test/app-tap/cfg.test.lua +++ b/test/app-tap/cfg.test.lua @@ -3,7 +3,13 @@ local fiber = require('fiber') local tap = require('tap') local test = tap.test("cfg") -test:plan(11) +test:plan(12) + +-- +-- gh-4849: clear synchro queue is null with unconfigured box +-- +local ok, err = pcall(box.ctl.clear_synchro_queue(), nil) +test:isnil(ok, 'execute clear_synchro_queue with unconfigured box') -- -- gh-4282: box.cfg should not allow nor just ignore nil UUID. -- 2.25.1