From 56b91412e4e200aa50d56336fdc73b1fb9d8a1be Mon Sep 17 00:00:00 2001 From: Gergo Magyar Date: Sat, 31 Oct 2026 08:30:16 +0000 Subject: [PATCH] test: allow Windows recovery probes to finish Each Windows recovery case invokes analysis five times. Two CI attempts hit the 120-second limit in different cases before native work finished. Allow 240 seconds on Windows while preserving every assertion. --- gitnexus/test/unit/incremental-write-integrity.test.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gitnexus/test/unit/incremental-write-integrity.test.ts b/gitnexus/test/unit/incremental-write-integrity.test.ts index 5ed597e8d..00d3941c8 100644 --- a/gitnexus/test/unit/incremental-write-integrity.test.ts +++ b/gitnexus/test/unit/incremental-write-integrity.test.ts @@ -278,6 +278,9 @@ describe('incremental graph identity before publication', () => { await repo.cleanup(); } }, - 120_000, + // Windows takes the in-place recovery path for every row: five analysis + // calls including repair refusal, full recovery, and the final no-op. + // Allow slow native checkpoints to finish before the test runner times out. + process.platform === 'win32' ? 240_000 : 120_000, ); });