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 5DDA86FC8F; Tue, 23 Mar 2021 18:48:47 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 5DDA86FC8F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1616514527; 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=vb4Ho4GAIgrAjsHUv4Z6yQQQull55xI3H6Rw3Ttqd4FUkHkEbQdVx1yyo6jAM1lxP 43YfVAG489tbgEnppHjKRlrA4sMAzZwf2iS3egJ4Bm//wkgtL6CFeQKCc4wr20U1uQ 1GIeunpV4TC18Ne7jI/pKB9kMwlVplxZJGBfkw+M= Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) (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 9E4366BD36 for ; Tue, 23 Mar 2021 18:47:51 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 9E4366BD36 Received: by mail-lf1-f46.google.com with SMTP id b83so27329734lfd.11 for ; Tue, 23 Mar 2021 08:47:51 -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=XdQn7q83rGKBXwsx43OpZek6PdDY/oSkhaaQCCEI6H+kcTU4AMR4d3vQY6t7E/KBo7 wAZu/kulDMO2QL01kmMn4MZxH3D9Q5f4vEe0Jw0lC+7Fx+W+AuiDCaXvEG4NVUjRWTqi uCOS3ZZFtS2imBdRchig7ihi4mOnh3sc+/9lVYXKbHoKQsmM7LpglJWVFb4LsYbl28tu WF6Y3Qy9nPbdV6oQ+uUQoHBjSetJjngkXC5br5PJYOmI1aptwHOXmHLurd+O6gsUf9IL Q6OiyyPynTm1ywRAqTWUat8URbyWoKHABGBEF/coaUl3e4OqdbCxLlJhCQlKMJr94yiL wQFA== X-Gm-Message-State: AOAM532SOPptSI0XyGjX1d/xHSjQ6s4tOlCXIRJlNLQXHEeEj9WcV6um eX5Q0B8mgP50mRjGp03eQ14x4zhtFHA= X-Google-Smtp-Source: ABdhPJyfvJdAiyjxC4qoVMCeK+tPF+88dP7lan7t65kirMuHfja14yHSSyiju0vXNde4t2WKepLnqg== X-Received: by 2002:ac2:546f:: with SMTP id e15mr2926055lfn.563.1616514470106; Tue, 23 Mar 2021 08:47:50 -0700 (PDT) Received: from grain.localdomain ([5.18.171.94]) by smtp.gmail.com with ESMTPSA id r4sm1883727lfn.135.2021.03.23.08.47.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Mar 2021 08:47:48 -0700 (PDT) Received: by grain.localdomain (Postfix, from userid 1000) id 8D4BC5601FD; Tue, 23 Mar 2021 18:47:11 +0300 (MSK) To: tml Date: Tue, 23 Mar 2021 18:47:10 +0300 Message-Id: <20210323154710.1696442-4-gorcunov@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210323154710.1696442-1-gorcunov@gmail.com> References: <20210323154710.1696442-1-gorcunov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH v3 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 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