upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/sync/metrics.rs4
1 files changed, 0 insertions, 4 deletions
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() {
444async fn test_relay_connected_status() { 444async fn test_relay_connected_status() {
445 let mut harness = MetricsTestHarness::with_sources(1).await; 445 let mut harness = MetricsTestHarness::with_sources(1).await;
446 harness.start_syncing_relay(0).await; 446 harness.start_syncing_relay(0).await;
447 tokio::time::sleep(Duration::from_secs(2)).await;
448 447
449 // Clone the URL to avoid borrow issues when stopping source
450 let source_url = harness.source_url(0).to_string(); 448 let source_url = harness.source_url(0).to_string();
451 449
452 // Check connected status 450 // Check connected status
@@ -454,8 +452,6 @@ async fn test_relay_connected_status() {
454 452
455 println!("Checking connection status for {}", source_url); 453 println!("Checking connection status for {}", source_url);
456 454
457 // NOTE: This will likely fail until sync metrics are wired up
458 // Test documents the expectation
459 assert_eq!( 455 assert_eq!(
460 metrics.relay_connected(&source_url), 456 metrics.relay_connected(&source_url),
461 Some(true), 457 Some(true),