Compare commits

...

1 Commits

Author SHA1 Message Date
Christian Schwarz
03bbce36e8 make tests fail due to allowed_errors on immediate gc before lease deadline 2025-07-01 11:54:43 +02:00

View File

@@ -2347,6 +2347,17 @@ impl TenantManager {
let _gate_guard = tenant.gate.enter().map_err(|_| ApiError::ShuttingDown)?;
if cfg!(feature = "testing")
&& tenant
.tenant_conf
.load()
.is_gc_blocked_by_lsn_lease_deadline()
{
warn!(
"test is requesting immediate GC but lease deadline is still on, test might be impacted"
);
}
fail::fail_point!("immediate_gc_task_pre");
#[allow(unused_mut)]