From 4618739cb39090c793417fbfcf3e933d6236ff33 Mon Sep 17 00:00:00 2001 From: Konstantin Knizhnik Date: Thu, 9 Mar 2023 18:39:39 +0200 Subject: [PATCH] Update test_runner/regress/test_gc_old_layers.py Co-authored-by: Joonas Koivunen --- test_runner/regress/test_gc_old_layers.py | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/test_runner/regress/test_gc_old_layers.py b/test_runner/regress/test_gc_old_layers.py index 91e11a3a19..54b52671bf 100644 --- a/test_runner/regress/test_gc_old_layers.py +++ b/test_runner/regress/test_gc_old_layers.py @@ -3,15 +3,17 @@ from fixtures.log_helper import log from fixtures.neon_fixtures import NeonEnvBuilder -# -# Test that GC is able to collect all old layers even if them are forming -# "stairs" and there are not three delta layers since last image layer. -# Information about image layers needed to collect old layers should -# be propagated by GC to compaction task which should take in in account -# when make a decision which new image layers needs to be created -# + @pytest.mark.timeout(10000) def test_gc_old_layers(neon_env_builder: NeonEnvBuilder): + """ + Test that GC is able to collect all old layers even if them are forming + "stairs" and there are not three delta layers since last image layer. + + Information about image layers needed to collect old layers should + be propagated by GC to compaction task which should take in in account + when make a decision which new image layers needs to be created. + """ env = neon_env_builder.init_start() client = env.pageserver.http_client()