diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-19 09:25:34 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-19 09:25:34 +0000 |
| commit | 15452be55e727552df10e11facfaf67700845e3a (patch) | |
| tree | 7bc7dbfbe40a86b26b753f4af5c2dd9319dd6baf /tests | |
| parent | cac41a61b48f84dc8c12ece6abb0ebb40c5f9a0c (diff) | |
test: clear names for sync tests
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/sync.rs | 2 | ||||
| -rw-r--r-- | tests/sync/discovery.rs | 4 |
2 files changed, 3 insertions, 3 deletions
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; | |||
| 31 | 31 | ||
| 32 | // Include sync test submodules (located in tests/sync/) | 32 | // Include sync test submodules (located in tests/sync/) |
| 33 | mod sync { | 33 | mod sync { |
| 34 | pub mod historic_sync; | ||
| 35 | pub mod catchup; | 34 | pub mod catchup; |
| 36 | pub mod discovery; | 35 | pub mod discovery; |
| 36 | pub mod historic_sync; | ||
| 37 | pub mod live_sync; | 37 | pub mod live_sync; |
| 38 | pub mod metrics; | 38 | pub mod metrics; |
| 39 | pub mod tag_variations; | 39 | 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() { | |||
| 175 | /// Note: Layer 3 (comments on issues) sync is tracked separately and may | 175 | /// Note: Layer 3 (comments on issues) sync is tracked separately and may |
| 176 | /// be implemented in future phases. This test focuses on Layer 2 discovery. | 176 | /// be implemented in future phases. This test focuses on Layer 2 discovery. |
| 177 | #[tokio::test] | 177 | #[tokio::test] |
| 178 | async fn test_layer2_discovery_with_chain() { | 178 | async fn test_relay_discovery_via_announcements_with_historic_sync() { |
| 179 | // 1. Start relay_a (source) with the event chain | 179 | // 1. Start relay_a (source) with the event chain |
| 180 | let relay_a = TestRelay::start().await; | 180 | let relay_a = TestRelay::start().await; |
| 181 | println!( | 181 | println!( |
| @@ -296,7 +296,7 @@ async fn test_layer2_discovery_with_chain() { | |||
| 296 | /// 4. Syncs announcement_y from relay_c | 296 | /// 4. Syncs announcement_y from relay_c |
| 297 | /// | 297 | /// |
| 298 | #[tokio::test] | 298 | #[tokio::test] |
| 299 | async fn test_recursive_relay_discovery_syncs_announcement() { | 299 | async fn test_recursive_relay_discovery_via_announcements_with_historic_sync() { |
| 300 | // 1. Start all three relays | 300 | // 1. Start all three relays |
| 301 | 301 | ||
| 302 | // relay_b - will be the bootstrap relay, has announcement_x | 302 | // relay_b - will be the bootstrap relay, has announcement_x |