mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-09-12 05:16:19 -07:00
test(stats): increase occurrence merge test timeout
This commit is contained in:
@@ -66,7 +66,7 @@ function mergedOccurrences(dbPath: string): Array<{ word: string; seenMs: number
|
|||||||
for (const legacyOccurrences of [false, true]) {
|
for (const legacyOccurrences of [false, true]) {
|
||||||
const label = legacyOccurrences ? 'a peer predating the seen_ms column' : 'a current peer';
|
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-'));
|
const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'subminer-merge-occurrences-test-'));
|
||||||
try {
|
try {
|
||||||
const local = buildDb(dir, 'local.sqlite', {
|
const local = buildDb(dir, 'local.sqlite', {
|
||||||
|
|||||||
Reference in New Issue
Block a user