diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-11 08:47:08 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-11 08:47:08 +0000 |
| commit | 61d4796d84960ec9f25392635afceea3a3bd0916 (patch) | |
| tree | 98bd7c10d34decc2f7c96f50ddead8e8dc63f473 /tests/sync/mod.rs | |
| parent | ffcf8a7bc679f0aff9135063d343be3161b3b439 (diff) | |
refactor: move metrics tests to tests/sync/ structure (Phase 7)
Diffstat (limited to 'tests/sync/mod.rs')
| -rw-r--r-- | tests/sync/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/sync/mod.rs b/tests/sync/mod.rs index b0da8b8..cf8f599 100644 --- a/tests/sync/mod.rs +++ b/tests/sync/mod.rs | |||
| @@ -8,6 +8,7 @@ | |||
| 8 | //! - Live sync (events sync in real-time after connection established) | 8 | //! - Live sync (events sync in real-time after connection established) |
| 9 | //! - Tag variations (testing different Layer 2/3 tag types: a/A/q, e/E/q) | 9 | //! - Tag variations (testing different Layer 2/3 tag types: a/A/q, e/E/q) |
| 10 | //! - Catchup sync (events from disconnected period sync on reconnect) | 10 | //! - Catchup sync (events from disconnected period sync on reconnect) |
| 11 | //! - Metrics (Prometheus metrics for sync operations) | ||
| 11 | //! | 12 | //! |
| 12 | //! # Test Files | 13 | //! # Test Files |
| 13 | //! | 14 | //! |
| @@ -16,6 +17,7 @@ | |||
| 16 | //! - `live_sync.rs` - Tests 5, 6, 7: real-time sync after connection | 17 | //! - `live_sync.rs` - Tests 5, 6, 7: real-time sync after connection |
| 17 | //! - `tag_variations.rs` - Tests 8, 9: Layer 2/3 tag type coverage | 18 | //! - `tag_variations.rs` - Tests 8, 9: Layer 2/3 tag type coverage |
| 18 | //! - `catchup.rs` - Test 0: catchup after disconnect (stub, `#[ignore]`) | 19 | //! - `catchup.rs` - Test 0: catchup after disconnect (stub, `#[ignore]`) |
| 20 | //! - `metrics.rs` - Prometheus metrics integration tests | ||
| 19 | //! | 21 | //! |
| 20 | //! # Shared Imports | 22 | //! # Shared Imports |
| 21 | //! | 23 | //! |
| @@ -23,10 +25,12 @@ | |||
| 23 | //! - `TestClient` - Client with retry logic | 25 | //! - `TestClient` - Client with retry logic |
| 24 | //! - Event builders for Layer 2/3 events | 26 | //! - Event builders for Layer 2/3 events |
| 25 | //! - `wait_for_event_on_relay()` - Non-panicking assertion helper | 27 | //! - `wait_for_event_on_relay()` - Non-panicking assertion helper |
| 28 | //! - `fetch_metrics()` - Prometheus metrics fetching | ||
| 26 | 29 | ||
| 27 | // Test modules | 30 | // Test modules |
| 28 | pub mod bootstrap; | 31 | pub mod bootstrap; |
| 29 | pub mod catchup; | 32 | pub mod catchup; |
| 30 | pub mod discovery; | 33 | pub mod discovery; |
| 31 | pub mod live_sync; | 34 | pub mod live_sync; |
| 35 | pub mod metrics; | ||
| 32 | pub mod tag_variations; \ No newline at end of file | 36 | pub mod tag_variations; \ No newline at end of file |