diff options
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 |