From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 7F02B6F3C7; Fri, 26 Mar 2021 15:07:44 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 7F02B6F3C7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1616760464; bh=DAgVW6CmAcfHx+nQKcApBFxG6ACeCfTJUIzrAKlNjGI=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=CkXAXFfyT+8+YYUSBvmPNUH4YfDygKrs01zWrspb3aJzWXKwl3FQYs9ndAulKpYZ3 +BSCTaad11wNrmRpdUt2llOK1MnEU10Mc+t1pNXT2GYuAtRPsIHT3WxPb23YDKwjOE QrlDM5fcCYwuNdUFYjjecm9LgsPCrPa+tgAvPurE= Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id A07AB6BD38 for ; Fri, 26 Mar 2021 15:06:48 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org A07AB6BD38 Received: by mail-lf1-f52.google.com with SMTP id b83so7283450lfd.11 for ; Fri, 26 Mar 2021 05:06:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3GcP6PAHeXdzmmPQx8kCEkGpieyUYPVmJVheHJOPRtQ=; b=sEs4DY9thOd1abBvgigZlTMRig0+ME/YnllvsDtnBCmYaCOAQlBH17GzvL1ItUMOSh BdGTFsrG3fD4cCKI2Juz3qI1l46ATVxajoIdOEdhaJLq97HPXYgqVbXHN9AP1NuFzoDe 8oL17AkYIo/1DPMlHL3uIGPvhRvVWrZh9LEhfhh4nxp3JAxuj8XdKZaxPCweXU9QId/P 39PTFbN1+Pw5D0GLK+LYBNk4V4kUh9trV6uhvgBn8/qJTWcnctj6U9PUUmJ+je6IVTnu rcYBDcpSg7AJsPqv0mOea81ZtZM/lXKS+SYcStogngPMJ406gHpND6VuJKhj7OjzjAUZ 3jhQ== X-Gm-Message-State: AOAM5311Y2EZ4gfkQJD3aLei6v1zzi7VAUfxcaBX+K3QlY7Ib5S7U1vg TQiWN2ieilokKX4FvzCLZy4Iouj8ia3djg== X-Google-Smtp-Source: ABdhPJyugkyrUxYicFnJ7nuA1Uli8j1fqeweJls1G55sXKCqwepREhVUNJC3BSz8ShGjaFynHs7bcA== X-Received: by 2002:ac2:4576:: with SMTP id k22mr7997942lfm.523.1616760407385; Fri, 26 Mar 2021 05:06:47 -0700 (PDT) Received: from grain.localdomain ([5.18.171.94]) by smtp.gmail.com with ESMTPSA id d3sm848094lfq.249.2021.03.26.05.06.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Mar 2021 05:06:46 -0700 (PDT) Received: by grain.localdomain (Postfix, from userid 1000) id 0A51B56021C; Fri, 26 Mar 2021 15:06:08 +0300 (MSK) To: tml Date: Fri, 26 Mar 2021 15:06:05 +0300 Message-Id: <20210326120605.2160131-4-gorcunov@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210326120605.2160131-1-gorcunov@gmail.com> References: <20210326120605.2160131-1-gorcunov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH v5 3/3] test: box-tap/gc -- add test for is_paused field X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Cyrill Gorcunov via Tarantool-patches Reply-To: Cyrill Gorcunov Cc: Vladislav Shpilevoy Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" Once simple bootstrap is complete and there is no replicas used we should run with gc unpaused. Part-of #5806 Acked-by: Serge Petrenko Signed-off-by: Cyrill Gorcunov --- test/box-tap/gc.test.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/box-tap/gc.test.lua b/test/box-tap/gc.test.lua index f0155779c..ced87547e 100755 --- a/test/box-tap/gc.test.lua +++ b/test/box-tap/gc.test.lua @@ -8,11 +8,12 @@ local debug = type(box.error.injection) == "table" -- check box.info.gc() is false if snapshot is not in progress local test = tap.test('box.info.gc') -test:plan(1 + (debug and 1 or 0)) +test:plan(2 + (debug and 1 or 0)) local gc = box.info.gc() test:is(gc.checkpoint_is_in_progress, false, "checkpoint is not in progress") +test:is(gc.is_paused, false, "GC is not paused") -- check box.info.gc() is true if snapshot is in progress -- -- 2.30.2