upleb.uk

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

summaryrefslogtreecommitdiff
path: root/tests/common/relay.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-01-08 00:50:54 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-01-08 00:50:54 +0000
commitf75e1c59aacf5ce668fd327e4e3d827511661c2a (patch)
tree867926c7503e7c587e86c67896a9e7347600447b /tests/common/relay.rs
parent3f14f998d64b5fa15bdddd7570b4f72874eb9f29 (diff)
chore: cargo fmt
Diffstat (limited to 'tests/common/relay.rs')
-rw-r--r--tests/common/relay.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/common/relay.rs b/tests/common/relay.rs
index 8d20da6..fb5d421 100644
--- a/tests/common/relay.rs
+++ b/tests/common/relay.rs
@@ -144,7 +144,10 @@ 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", std::env::var("RUST_LOG").unwrap_or_else(|_| "info".to_string())) // Use RUST_LOG from environment or default to info 147 .env(
148 "RUST_LOG",
149 std::env::var("RUST_LOG").unwrap_or_else(|_| "info".to_string()),
150 ) // Use RUST_LOG from environment or default to info
148 .stdout(Stdio::null()) // Suppress stdout for cleaner test output 151 .stdout(Stdio::null()) // Suppress stdout for cleaner test output
149 .stderr(Stdio::null()); // Suppress stderr for cleaner test output 152 .stderr(Stdio::null()); // Suppress stderr for cleaner test output
150 153