From 03c0325a0bb4fa61abbe9683f80648fd4bd9733e Mon Sep 17 00:00:00 2001 From: Reactor Scram Date: Wed, 16 Oct 2024 20:21:47 -0500 Subject: [PATCH] chore(rust/telemetry): remove a test that is flaky when Sentry is down (#7079) They had an incident today that caused our CI to start failing https://status.sentry.io/incidents/rqfy3wcbkgl5 e.g. https://github.com/firezone/firezone/actions/runs/11372533569/job/31637085363 --- rust/telemetry/src/lib.rs | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/rust/telemetry/src/lib.rs b/rust/telemetry/src/lib.rs index e076f4dc7..7b4a9cbdf 100644 --- a/rust/telemetry/src/lib.rs +++ b/rust/telemetry/src/lib.rs @@ -110,23 +110,6 @@ mod tests { // To avoid problems with global mutable state, we run unrelated tests in the same test case. #[test] fn sentry() { - // Test this flush problem - { - let telemetry = sentry::init(( - HEADLESS_DSN.0, - sentry::ClientOptions { - release: sentry::release_name!(), - traces_sample_rate: 1.0, - ..Default::default() - }, - )); - sentry::start_session(); - sentry::end_session(); - // `flush`'s return value is flipped from the docs - // - assert!(!telemetry.flush(Some(Duration::from_secs(5)))); - } - // Smoke-test Sentry itself by turning it on and off a couple times { let tele = Telemetry::default();