diff options
Diffstat (limited to 'tests/common')
| -rw-r--r-- | tests/common/relay.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/common/relay.rs b/tests/common/relay.rs index d954e34..b11dde3 100644 --- a/tests/common/relay.rs +++ b/tests/common/relay.rs | |||
| @@ -94,6 +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("NGIT_SYNC_STARTUP_DELAY_SECS", "0") // No startup delay for faster tests | ||
| 98 | .env("NGIT_SYNC_STARTUP_JITTER_MS", "0") // No jitter for tests | ||
| 99 | .env("NGIT_SYNC_DISCONNECT_CHECK_INTERVAL_SECS", "1") // Fast reconnect attempts for tests | ||
| 97 | .env("RUST_LOG", "info") // Enable INFO logging for diagnostics | 100 | .env("RUST_LOG", "info") // Enable INFO logging for diagnostics |
| 98 | .stdout(Stdio::null()) // Disable stderr for cleaner test output | 101 | .stdout(Stdio::null()) // Disable stderr for cleaner test output |
| 99 | // .stdout(Stdio::inherit()) // Show stdout for diagnostics | 102 | // .stdout(Stdio::inherit()) // Show stdout for diagnostics |