diff --git a/test_runner/regress/test_branching.py b/test_runner/regress/test_branching.py index 011c6896bd..ce9bb1c8b5 100644 --- a/test_runner/regress/test_branching.py +++ b/test_runner/regress/test_branching.py @@ -157,6 +157,7 @@ def test_cannot_create_endpoint_on_non_uploaded_timeline(neon_env_builder: NeonE [ ".*request{method=POST path=/v1/tenant/.*/timeline request_id=.*}: request was dropped before completing.*", ".*page_service_conn_main.*: query handler for 'basebackup .* ERROR: Not found: Timeline", + ".*request failed with Unavailable: Timeline .* is not active", ] ) ps_http = env.pageserver.http_client() @@ -194,7 +195,7 @@ def test_cannot_create_endpoint_on_non_uploaded_timeline(neon_env_builder: NeonE env.neon_cli.mappings_map_branch(initial_branch, env.initial_tenant, env.initial_timeline) - with pytest.raises(RuntimeError, match="ERROR: Not found: Timeline"): + with pytest.raises(RuntimeError, match=f"Timeline {env.initial_tenant}/{env.initial_timeline} is not active"): env.endpoints.create_start( initial_branch, tenant_id=env.initial_tenant, basebackup_request_tries=2 )