From ae463f366b34b8dbd3edb508a0bbaea4ab79d17b Mon Sep 17 00:00:00 2001 From: John Spray Date: Thu, 13 Feb 2025 16:15:04 +0000 Subject: [PATCH] tests: broaden allow-list for #10720 workaround (#10807) ## Problem In #10752 I used an overly-strict regex that only ignored error on a particular key. ## Summary of changes - Drop key from regex so it matches all such errors --- test_runner/regress/test_sharding.py | 2 +- test_runner/regress/test_storage_scrubber.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test_runner/regress/test_sharding.py b/test_runner/regress/test_sharding.py index 8910873690..f58bbcd3c0 100644 --- a/test_runner/regress/test_sharding.py +++ b/test_runner/regress/test_sharding.py @@ -1821,7 +1821,7 @@ def test_sharding_gc( # TODO: remove when https://github.com/neondatabase/neon/issues/10720 is fixed ps.allowed_errors.extend( [ - ".*could not find data for key 020000000000000000000000000000000000.*", + ".*could not find data for key.*", ".*could not ingest record.*", ] ) diff --git a/test_runner/regress/test_storage_scrubber.py b/test_runner/regress/test_storage_scrubber.py index b8253fb125..d44c176b35 100644 --- a/test_runner/regress/test_storage_scrubber.py +++ b/test_runner/regress/test_storage_scrubber.py @@ -318,7 +318,7 @@ def test_scrubber_physical_gc_ancestors(neon_env_builder: NeonEnvBuilder, shard_ # TODO: remove when https://github.com/neondatabase/neon/issues/10720 is fixed ps.allowed_errors.extend( [ - ".*could not find data for key 020000000000000000000000000000000000.*", + ".*could not find data for key.*", ".*could not ingest record.*", ] )