test(stats): increase occurrence merge test timeout

This commit is contained in:
2026-09-11 01:09:59 -07:00
parent 016a43b804
commit 8ae5bde6a4
@@ -66,7 +66,7 @@ function mergedOccurrences(dbPath: string): Array<{ word: string; seenMs: number
for (const legacyOccurrences of [false, true]) {
const label = legacyOccurrences ? 'a peer predating the seen_ms column' : 'a current peer';
test(`sync merge carries occurrence timestamps in from ${label}`, () => {
test(`sync merge carries occurrence timestamps in from ${label}`, { timeout: 15_000 }, () => {
const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'subminer-merge-occurrences-test-'));
try {
const local = buildDb(dir, 'local.sqlite', {