mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-17 21:20:37 +00:00
using extend method instead of append
refactored the code to use a method to combine two line together Co-authored-by: Alexander Bayandin <alexander@neon.tech>
This commit is contained in:
committed by
Abhijeet Patil
parent
c3439466e5
commit
a46960a855
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user