diff options
Diffstat (limited to 'tests/common')
| -rw-r--r-- | tests/common/relay.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/common/relay.rs b/tests/common/relay.rs index 55cc18e..8d20da6 100644 --- a/tests/common/relay.rs +++ b/tests/common/relay.rs | |||
| @@ -144,10 +144,9 @@ impl TestRelay { | |||
| 144 | .env("NGIT_SYNC_STARTUP_JITTER_MS", "0") // No jitter for tests | 144 | .env("NGIT_SYNC_STARTUP_JITTER_MS", "0") // No jitter for tests |
| 145 | .env("NGIT_SYNC_DISCONNECT_CHECK_INTERVAL_SECS", "1") // Fast reconnect attempts for tests | 145 | .env("NGIT_SYNC_DISCONNECT_CHECK_INTERVAL_SECS", "1") // Fast reconnect attempts for tests |
| 146 | .env("NGIT_SYNC_BASE_BACKOFF_SECS", "1") // Fast backoff for tests (1s instead of 5s default) | 146 | .env("NGIT_SYNC_BASE_BACKOFF_SECS", "1") // Fast backoff for tests (1s instead of 5s default) |
| 147 | .env("RUST_LOG", "info") // Enable INFO logging for diagnostics | 147 | .env("RUST_LOG", std::env::var("RUST_LOG").unwrap_or_else(|_| "info".to_string())) // Use RUST_LOG from environment or default to info |
| 148 | .stdout(Stdio::null()) // Disable stderr for cleaner test output | 148 | .stdout(Stdio::null()) // Suppress stdout for cleaner test output |
| 149 | // .stdout(Stdio::inherit()) // Show stdout for diagnostics | 149 | .stderr(Stdio::null()); // Suppress stderr for cleaner test output |
| 150 | .stderr(Stdio::null()); // Disable stderr for cleaner test output | ||
| 151 | 150 | ||
| 152 | // Add bootstrap relay URL if provided | 151 | // Add bootstrap relay URL if provided |
| 153 | if let Some(ref bootstrap_url) = bootstrap_relay_url { | 152 | if let Some(ref bootstrap_url) = bootstrap_relay_url { |