From 11a656fa96d6f60e2d8e8fd31657e24d6cc7cf21 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Thu, 18 Dec 2025 12:41:19 +0000 Subject: sync: fix sync connection --- tests/sync/metrics.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tests/sync') diff --git a/tests/sync/metrics.rs b/tests/sync/metrics.rs index 14e1dfd..f1f19d0 100644 --- a/tests/sync/metrics.rs +++ b/tests/sync/metrics.rs @@ -444,9 +444,7 @@ async fn test_live_sync_event_count() { async fn test_relay_connected_status() { let mut harness = MetricsTestHarness::with_sources(1).await; harness.start_syncing_relay(0).await; - tokio::time::sleep(Duration::from_secs(2)).await; - // Clone the URL to avoid borrow issues when stopping source let source_url = harness.source_url(0).to_string(); // Check connected status @@ -454,8 +452,6 @@ async fn test_relay_connected_status() { println!("Checking connection status for {}", source_url); - // NOTE: This will likely fail until sync metrics are wired up - // Test documents the expectation assert_eq!( metrics.relay_connected(&source_url), Some(true), -- cgit v1.2.3