From fb5a9c6f43a6c8c13bfe3465fd7b451a09413329 Mon Sep 17 00:00:00 2001 From: mesalogo Date: Thu, 3 Sep 2026 06:00:16 +0800 Subject: [PATCH] test: allow bounded knowledge snapshot writes The complete-snapshot boundary test performs 501 synchronous SQLite source and document writes. It passed functionally but could exceed its 10-second case timeout on the serial Linux CI runner, so give this I/O-heavy case a bounded 30-second allowance without changing product behavior or global test limits. --- src/main/knowledge/knowledge-database.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/knowledge/knowledge-database.test.ts b/src/main/knowledge/knowledge-database.test.ts index e6f8a4b0..b948473d 100644 --- a/src/main/knowledge/knowledge-database.test.ts +++ b/src/main/knowledge/knowledge-database.test.ts @@ -778,7 +778,7 @@ describe('KnowledgeDatabase', () => { expect(database.listDocuments(library.id)).toHaveLength(500) expect(database.listSourcesForSnapshot(library.id)).toHaveLength(501) expect(database.listDocumentsForSnapshot(library.id)).toHaveLength(501) - }, 10_000) + }, 30_000) it('edits graph records and merges entities while retaining evidence and locks', async () => { const { database } = await createDatabase()