From 995f06a8bbfd7ce66d44e29c5533be4e292ee867 Mon Sep 17 00:00:00 2001 From: argenis de la rosa Date: Tue, 3 Mar 2026 15:52:24 -0500 Subject: [PATCH] test(channels): ensure runtime config cleanup before assert (cherry picked from commit 7e888d0a402a1033a680e131676ef63710218c0d) --- src/channels/mod.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/channels/mod.rs b/src/channels/mod.rs index cc8866df7..8694594c4 100644 --- a/src/channels/mod.rs +++ b/src/channels/mod.rs @@ -8117,15 +8117,15 @@ BTC is currently around $65,000 based on latest tool output."# let config_path = cfg.config_path.clone(); let result = start_channels(cfg).await; - assert!( - result.is_ok(), - "start_channels should support routed providers without global credentials: {result:?}" - ); - let mut store = runtime_config_store() .lock() .unwrap_or_else(|e| e.into_inner()); store.remove(&config_path); + + assert!( + result.is_ok(), + "start_channels should support routed providers without global credentials: {result:?}" + ); } #[tokio::test]