Skip to content

Commit 0ca07d8

Browse files
committed
fix(test): increase file stress test delays for Windows CI
- Increase start delay to 500ms and wait delay to 3000ms for 100-file test
1 parent 9948463 commit 0ca07d8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/watcher.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -525,11 +525,11 @@ Deno.test('Watcher - stress test with 100 files', noLeaks, async () => {
525525
}
526526
})
527527
watcher.start()
528-
await delay(300)
528+
await delay(500)
529529
for (let i = 0; i < 100; i++) {
530530
Deno.writeTextFileSync(`${tmpDir}/s_${String(i).padStart(4, '0')}.txt`, `d_${i}`)
531531
}
532-
await delay(1500)
532+
await delay(3000)
533533
watcher.dispose()
534534
assertEquals(events.length > 0, true)
535535
Deno.removeSync(tmpDir, { recursive: true })

0 commit comments

Comments
 (0)