mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-21 16:18:55 +00:00
test(desktop): raise timeout on markdown-blocks property fuzz
The char-level streaming fuzz runs 12 seeds × 500 growing prefixes (~6000 full+cached lexes) and first trips the pre-fix boundary at seed 11 / step 257, so the workload can't shrink without gutting the guard. The work is bounded but exceeds Vitest's 5s per-test default on CI workers under parallelism, so give this one test an explicit 30s timeout instead of weakening coverage.
This commit is contained in:
parent
e934ee440e
commit
d8b59bd60e
1 changed files with 5 additions and 1 deletions
|
|
@ -130,6 +130,10 @@ describe('parseMarkdownIntoBlocksCached', () => {
|
|||
expect(parseMarkdownIntoBlocksCached(grown)).toEqual(parseMarkdownIntoBlocks(grown))
|
||||
})
|
||||
|
||||
// 12 seeds × 500 growing prefixes is ~6000 full+cached lexes; it first trips
|
||||
// the pre-fix boundary at seed 11 / step 257, so the workload can't shrink
|
||||
// without gutting the guard. The work is bounded but exceeds one test's 5s
|
||||
// default budget, so raise the timeout rather than weaken the coverage.
|
||||
it('matches a full lex at every char-level streaming cut over noisy markdown (property fuzz)', () => {
|
||||
// Character-level append fuzz over the markdown control alphabet — the
|
||||
// harness that surfaced the setext-underline merge above. Growing a single
|
||||
|
|
@ -156,5 +160,5 @@ describe('parseMarkdownIntoBlocksCached', () => {
|
|||
expect(parseMarkdownIntoBlocksCached(text)).toEqual(parseMarkdownIntoBlocks(text))
|
||||
}
|
||||
}
|
||||
})
|
||||
}, 30_000)
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue