diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-10 14:36:06 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-10 14:37:19 +0000 |
| commit | 8148c27a1350189046bc8e215f29f918dd8747f5 (patch) | |
| tree | 4630db969a5f5b3e288a806ff8f85cd507820dab /tests | |
| parent | e0eedf25f3218ee54563229257c1ce949bfafd10 (diff) | |
sync: fix connection registration issue
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/common/relay.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/common/relay.rs b/tests/common/relay.rs index f54846f..d954e34 100644 --- a/tests/common/relay.rs +++ b/tests/common/relay.rs | |||
| @@ -94,8 +94,9 @@ impl TestRelay { | |||
| 94 | .env("NGIT_DATABASE_BACKEND", "memory") // Force in-memory database for isolation | 94 | .env("NGIT_DATABASE_BACKEND", "memory") // Force in-memory database for isolation |
| 95 | .env("NGIT_OWNER_NPUB", &test_npub) | 95 | .env("NGIT_OWNER_NPUB", &test_npub) |
| 96 | .env("NGIT_SYNC_BATCH_WINDOW_MS", "200") // Fast batch window for tests (200ms instead of 5s default) | 96 | .env("NGIT_SYNC_BATCH_WINDOW_MS", "200") // Fast batch window for tests (200ms instead of 5s default) |
| 97 | .env("RUST_LOG", "warn") // Less logging during tests | 97 | .env("RUST_LOG", "info") // Enable INFO logging for diagnostics |
| 98 | .stdout(Stdio::null()) | 98 | .stdout(Stdio::null()) // Disable stderr for cleaner test output |
| 99 | // .stdout(Stdio::inherit()) // Show stdout for diagnostics | ||
| 99 | .stderr(Stdio::null()); // Disable stderr for cleaner test output | 100 | .stderr(Stdio::null()); // Disable stderr for cleaner test output |
| 100 | 101 | ||
| 101 | // Add bootstrap relay URL if provided | 102 | // Add bootstrap relay URL if provided |