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 568A06EC56; Sat, 20 Mar 2021 16:16:57 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 568A06EC56 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1616246217; bh=5Dcxitt9e/vM3dFuqhvD7F2FnAXSH3MSMQHE3/PQXHc=; 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=xpyuNNBRY5vIOPClhc0zu2ldcmUZ0Ys0WfuaUfNpJ4HXeQ6FAst/04gJfaIkwVt/u aEw/L7auRP6D9t1aKwSJlroEw9GH/9hRpYegppxuL51H4zh67KiBVQGNx4BYe/aPCn BZ5uctFB7EXT8enpBG5k491s/OT9sdOs39fAIX1c= Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com [209.85.208.179]) (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 4A7D56F3C9 for ; Sat, 20 Mar 2021 16:16:02 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 4A7D56F3C9 Received: by mail-lj1-f179.google.com with SMTP id f26so15298817ljp.8 for ; Sat, 20 Mar 2021 06:16:02 -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=ZU4rproI23kL590GwLvrV4VQ/to08D8ZcH67yqpQU+E=; b=LFIddr0dxcOi5ShPSqaQNmt79GTulvbYtIUN4KqxvGLEIugl+9WwEyfwsS5OLzZIv9 AikpvDQkv51Lh5Edp7V6cwkaclmyeX4+UfjAhwVIvwCi6WAtVqYxmmJPe8l/1g+t+NT/ ItYzKH+6KxZycohs7IKFxvfV/NicUU8l/Xaq0te9Fyr9Z6F493ZSO9C7GuuM4xJRUcsf 5tB7PFmziIZFyy61j+rH6Zx7qOFB5U/nmHpKSjSKEF6fczZ5Poqsi8PgzHlmv623wLav CBV2iJTIrKOaojwVGAcaKooIvtzG7mEO4UqkvOaANkzoNlwtSXfiDnlUaK/2enIuOrnE 5LeA== X-Gm-Message-State: AOAM530yoaWt4ftiWn/wP/UdJy1RMM7M1J30HwzvAIpUve7d4FKoP1qw 1AgUSZW/oQaNWKtKljkjWwA= X-Google-Smtp-Source: ABdhPJwBoaH8fk+cHXDg/7TCADygj8WqZsOrXEHBslWzJysagRgHKDEjtoYkTSfoLW4FatlkCryuHw== X-Received: by 2002:a2e:85d9:: with SMTP id h25mr3833878ljj.81.1616246161993; Sat, 20 Mar 2021 06:16:01 -0700 (PDT) Received: from grain.localdomain ([5.18.171.94]) by smtp.gmail.com with ESMTPSA id x25sm932365lfn.307.2021.03.20.06.16.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Mar 2021 06:16:00 -0700 (PDT) Received: by grain.localdomain (Postfix, from userid 1000) id C1950560208; Sat, 20 Mar 2021 16:15:23 +0300 (MSK) To: tml Date: Sat, 20 Mar 2021 16:15:21 +0300 Message-Id: <20210320131521.1249747-4-gorcunov@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210320131521.1249747-1-gorcunov@gmail.com> References: <20210320131521.1249747-1-gorcunov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH v2 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 , Mons Anderson 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 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