Skip to content
Snippets Groups Projects
Commit 83ec719c authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Kirill Yukhin
Browse files

test: box-tap/gc -- add test for is_paused field


Once simple bootstrap is complete and there is no
replicas used we should run with gc unpaused.

Part-of #5806

Acked-by: default avatarSerge Petrenko <sergepetrenko@tarantool.org>
Signed-off-by: default avatarCyrill Gorcunov <gorcunov@gmail.com>
parent 5437afe2
No related branches found
No related tags found
No related merge requests found
......@@ -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
--
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment