mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-16 18:02:56 +00:00
Update test_runner/regress/test_gc_old_layers.py
Co-authored-by: Joonas Koivunen <joonas@neon.tech>
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user