test: clear names for sync tests

This commit is contained in:
DanConwayDev
2025-12-19 09:25:34 +00:00
parent cac41a61b4
commit 15452be55e
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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;
+2 -2
View File
@@ -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