upleb.uk

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

summaryrefslogtreecommitdiff
path: root/tests/sync.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2025-12-10 16:31:47 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2025-12-10 16:31:47 +0000
commit5f3c8b7085f6652fdde4443983df0aad561e3c67 (patch)
tree7ce2bfda0ab5bd3871112f0e9bb396928a7652e6 /tests/sync.rs
parentbb9abe353024878e6bf1884cf3fb5a115e75bd03 (diff)
Phase 8: Create catchup sync stub test
Diffstat (limited to 'tests/sync.rs')
-rw-r--r--tests/sync.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/sync.rs b/tests/sync.rs
index 7756c17..2836d8d 100644
--- a/tests/sync.rs
+++ b/tests/sync.rs
@@ -5,6 +5,9 @@
5//! 5//!
6//! - `bootstrap` - Tests for sync from pre-configured bootstrap relay 6//! - `bootstrap` - Tests for sync from pre-configured bootstrap relay
7//! - `discovery` - Tests for relay discovery from announcement events 7//! - `discovery` - Tests for relay discovery from announcement events
8//! - `live_sync` - Tests for real-time sync after connection established
9//! - `tag_variations` - Tests for different Layer 2/3 tag types
10//! - `catchup` - Tests for catchup sync after disconnect (not yet implemented)
8//! 11//!
9//! # Running Tests 12//! # Running Tests
10//! 13//!
@@ -17,6 +20,9 @@
17//! 20//!
18//! # Run specific test 21//! # Run specific test
19//! cargo test --test sync test_bootstrap_syncs -- --nocapture 22//! cargo test --test sync test_bootstrap_syncs -- --nocapture
23//!
24//! # Run ignored tests (like catchup)
25//! cargo test --test sync -- --ignored
20//! ``` 26//! ```
21 27
22// Include the common test utilities 28// Include the common test utilities
@@ -25,6 +31,7 @@ mod common;
25// Include sync test submodules (located in tests/sync/) 31// Include sync test submodules (located in tests/sync/)
26mod sync { 32mod sync {
27 pub mod bootstrap; 33 pub mod bootstrap;
34 pub mod catchup;
28 pub mod discovery; 35 pub mod discovery;
29 pub mod live_sync; 36 pub mod live_sync;
30 pub mod tag_variations; 37 pub mod tag_variations;