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.
This commit is contained in:
mesalogo
2026-09-03 06:00:16 +08:00
parent 26b87d7ed5
commit a8a3d39fcf
@@ -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()