From a46960a8552a6be58f6c3461cd2e1a5de5a86d64 Mon Sep 17 00:00:00 2001 From: Abhijeet Patil Date: Wed, 17 Jan 2024 10:57:38 +0000 Subject: [PATCH] using extend method instead of append refactored the code to use a method to combine two line together Co-authored-by: Alexander Bayandin --- test_runner/regress/test_tenant_detach.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/test_runner/regress/test_tenant_detach.py b/test_runner/regress/test_tenant_detach.py index dc3098f358..fbd52a1095 100644 --- a/test_runner/regress/test_tenant_detach.py +++ b/test_runner/regress/test_tenant_detach.py @@ -748,10 +748,12 @@ def test_metrics_while_ignoring_broken_tenant_and_reloading( env = neon_env_builder.init_start() client = env.pageserver.http_client() - env.pageserver.allowed_errors.append( - r".* Changing Active tenant to Broken state, reason: broken from test" + env.pageserver.allowed_errors.extend( + [ + r".* Changing Active tenant to Broken state, reason: broken from test", + r".*Dropped remote consistent LSN updates for tenant *.", + ] ) - env.pageserver.allowed_errors.append(r".*Dropped remote consistent LSN updates for tenant *.") def only_int(samples: List[Sample]) -> Optional[int]: if len(samples) == 1: