mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-07 13:32:57 +00:00
tests: temporarily permit a log error (#10752)
## Problem These tests can encounter a bug in the pageserver read path (#9185) which occurs under the very specific circumstances that the tests create, but is very unlikely to happen in the field. We will fix the bug, but in the meantime let's un-flake the tests. Related: https://github.com/neondatabase/neon/issues/10720 ## Summary of changes - Permit "could not find data for key" errors in tests affected by #9185
This commit is contained in:
@@ -1810,3 +1810,11 @@ def test_sharding_gc(
|
||||
shard_gc_cutoff_lsn = Lsn(shard_index["metadata_bytes"]["latest_gc_cutoff_lsn"])
|
||||
log.info(f"Shard {shard_number} cutoff LSN: {shard_gc_cutoff_lsn}")
|
||||
assert shard_gc_cutoff_lsn == shard_0_gc_cutoff_lsn
|
||||
|
||||
for ps in env.pageservers:
|
||||
# This is not okay, but it's not a scrubber bug: it's a pageserver issue that is exposed by
|
||||
# the specific pattern of aggressive checkpointing+image layer generation + GC that this test does.
|
||||
# TODO: remove when https://github.com/neondatabase/neon/issues/10720 is fixed
|
||||
ps.allowed_errors.append(
|
||||
".*could not find data for key 020000000000000000000000000000000000.*"
|
||||
)
|
||||
|
||||
@@ -312,6 +312,14 @@ def test_scrubber_physical_gc_ancestors(neon_env_builder: NeonEnvBuilder, shard_
|
||||
drop_local_state(env, tenant_id)
|
||||
workload.validate()
|
||||
|
||||
for ps in env.pageservers:
|
||||
# This is not okay, but it's not a scrubber bug: it's a pageserver issue that is exposed by
|
||||
# the specific pattern of aggressive checkpointing+image layer generation + GC that this test does.
|
||||
# TODO: remove when https://github.com/neondatabase/neon/issues/10720 is fixed
|
||||
ps.allowed_errors.append(
|
||||
".*could not find data for key 020000000000000000000000000000000000.*"
|
||||
)
|
||||
|
||||
|
||||
def test_scrubber_physical_gc_timeline_deletion(neon_env_builder: NeonEnvBuilder):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user