test(quick-note): give the async page write 5s, not render_async's 100ms default #60
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/quick-note-test-flake"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Test-only flake fix. No app code changes.
QuickNoteLiveTest"adds a page" fails now and then: the page write runs from SyncServer's task (snapshot fetch + commit through the cloud stub) and measured 130–320 ms locally, pastrender_async/1's 100 ms default. When the test exits first, theReq.Teststub goes private and the task logs "cannot find stub", which is a symptom, not the cause.Change:
render_async(view, 5_000)with a comment saying why. It still returns as soon as the result renders, so the passing case isn't slower.mix precommit: 1006 passed, 1 excluded.Note: CI may not run on this PR. The Forgejo runner looks offline (run 116 on #59 is still waiting to be picked up).