diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-10 09:07:54 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-10 09:07:54 +0000 |
| commit | 2bc95d7652ea7a8a53424fa9fffe3579c9fdff5b (patch) | |
| tree | 013aaa9fd64fd2ef4d1a1c47a7fc348f0e6a92de /tests/common | |
| parent | 7e68b71558c8f6d3f2aa1d3bf18e77eec335343d (diff) | |
improve sync design
Diffstat (limited to 'tests/common')
| -rw-r--r-- | tests/common/relay.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/common/relay.rs b/tests/common/relay.rs index 073a601..f54846f 100644 --- a/tests/common/relay.rs +++ b/tests/common/relay.rs | |||
| @@ -93,7 +93,7 @@ impl TestRelay { | |||
| 93 | .env("NGIT_GIT_DATA_PATH", git_data_dir.path()) | 93 | .env("NGIT_GIT_DATA_PATH", git_data_dir.path()) |
| 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_STARTUP_JITTER_MS", "0") // Disable jitter for tests | 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", "warn") // Less logging during tests |
| 98 | .stdout(Stdio::null()) | 98 | .stdout(Stdio::null()) |
| 99 | .stderr(Stdio::null()); // Disable stderr for cleaner test output | 99 | .stderr(Stdio::null()); // Disable stderr for cleaner test output |