From: Cyrill Gorcunov via Tarantool-patches <tarantool-patches@dev.tarantool.org> To: tml <tarantool-patches@dev.tarantool.org> Cc: Vladislav Shpilevoy <v.shpilevoy@tarantool.org> Subject: [Tarantool-patches] [PATCH v5 3/3] test: box-tap/gc -- add test for is_paused field Date: Fri, 26 Mar 2021 15:06:05 +0300 [thread overview] Message-ID: <20210326120605.2160131-4-gorcunov@gmail.com> (raw) In-Reply-To: <20210326120605.2160131-1-gorcunov@gmail.com> Once simple bootstrap is complete and there is no replicas used we should run with gc unpaused. Part-of #5806 Acked-by: Serge Petrenko <sergepetrenko@tarantool.org> Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> --- 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
next prev parent reply other threads:[~2021-03-26 12:07 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-03-26 12:06 [Tarantool-patches] [PATCH v5 0/3] gc/xlog: delay xlog cleanup until relays are subscribed Cyrill Gorcunov via Tarantool-patches 2021-03-26 12:06 ` [Tarantool-patches] [PATCH v5 1/3] " Cyrill Gorcunov via Tarantool-patches 2021-03-26 13:42 ` Serge Petrenko via Tarantool-patches 2021-03-26 19:45 ` Vladislav Shpilevoy via Tarantool-patches 2021-03-26 20:57 ` Cyrill Gorcunov via Tarantool-patches 2021-03-26 21:59 ` Cyrill Gorcunov via Tarantool-patches 2021-03-26 12:06 ` [Tarantool-patches] [PATCH v5 2/3] test: add a test for wal_cleanup_delay option Cyrill Gorcunov via Tarantool-patches 2021-03-26 13:37 ` Serge Petrenko via Tarantool-patches 2021-03-26 13:57 ` Cyrill Gorcunov via Tarantool-patches 2021-03-26 19:45 ` Vladislav Shpilevoy via Tarantool-patches 2021-03-26 12:06 ` Cyrill Gorcunov via Tarantool-patches [this message] 2021-03-26 12:08 ` [Tarantool-patches] [PATCH v5 0/3] gc/xlog: delay xlog cleanup until relays are subscribed Cyrill Gorcunov via Tarantool-patches
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210326120605.2160131-4-gorcunov@gmail.com \ --to=tarantool-patches@dev.tarantool.org \ --cc=gorcunov@gmail.com \ --cc=v.shpilevoy@tarantool.org \ --subject='Re: [Tarantool-patches] [PATCH v5 3/3] test: box-tap/gc -- add test for is_paused field' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox