From 684900fbb9fc15172007dc12aa2880cfec59beef Mon Sep 17 00:00:00 2001 From: houseme Date: Sat, 12 Sep 2026 18:39:29 +0800 Subject: [PATCH] test(heal): remove unused G14 put helper (#7705) Remove the superseded ServiceUnavailable-only PUT helper after the G14 outage PUT probe switched to the shared retry classifier. Co-authored-by: zhi22915 --- crates/e2e_test/src/heal_erasure_disk_rebuild_test.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/crates/e2e_test/src/heal_erasure_disk_rebuild_test.rs b/crates/e2e_test/src/heal_erasure_disk_rebuild_test.rs index 545fe1c3c..3af3925df 100644 --- a/crates/e2e_test/src/heal_erasure_disk_rebuild_test.rs +++ b/crates/e2e_test/src/heal_erasure_disk_rebuild_test.rs @@ -681,10 +681,6 @@ mod tests { && operations["activeBySource"]["admin"].as_u64() == Some(1) } - fn is_service_unavailable_put(error: &SdkError) -> bool { - error.as_service_error().and_then(ProvideErrorMetadata::code) == Some("ServiceUnavailable") - } - fn is_retryable_outage_put(error: &SdkError) -> bool { matches!( error.as_service_error().and_then(ProvideErrorMetadata::code),