From 15452be55e727552df10e11facfaf67700845e3a Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Fri, 19 Dec 2025 09:25:34 +0000 Subject: test: clear names for sync tests --- tests/sync.rs | 2 +- tests/sync/discovery.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/sync.rs b/tests/sync.rs index 64fd10a..ad5ca96 100644 --- a/tests/sync.rs +++ b/tests/sync.rs @@ -31,9 +31,9 @@ mod common; // Include sync test submodules (located in tests/sync/) mod sync { - pub mod historic_sync; pub mod catchup; pub mod discovery; + pub mod historic_sync; pub mod live_sync; pub mod metrics; pub mod tag_variations; diff --git a/tests/sync/discovery.rs b/tests/sync/discovery.rs index ed3e9bb..3aa6dda 100644 --- a/tests/sync/discovery.rs +++ b/tests/sync/discovery.rs @@ -175,7 +175,7 @@ async fn test_discovers_layer3_via_layer2() { /// Note: Layer 3 (comments on issues) sync is tracked separately and may /// be implemented in future phases. This test focuses on Layer 2 discovery. #[tokio::test] -async fn test_layer2_discovery_with_chain() { +async fn test_relay_discovery_via_announcements_with_historic_sync() { // 1. Start relay_a (source) with the event chain let relay_a = TestRelay::start().await; println!( @@ -296,7 +296,7 @@ async fn test_layer2_discovery_with_chain() { /// 4. Syncs announcement_y from relay_c /// #[tokio::test] -async fn test_recursive_relay_discovery_syncs_announcement() { +async fn test_recursive_relay_discovery_via_announcements_with_historic_sync() { // 1. Start all three relays // relay_b - will be the bootstrap relay, has announcement_x -- cgit v1.2.3