Repository navigation
Commit f290a36
committed
test(timeline): assert the injected file sync ran in the refused-flush case
The EPERM case proves the refusal is tolerated by checking that the next flush
rewrites nothing, and that check reads `synced`, which only grows when the
injected file sync is called. With the seam gone it stayed 0, so
`assert.equal(synced.length, written)` compared `0 === 0` and the case could not
tell that its injection never happened — deleting the seam left it green and
only the two controls failed (FlyBot Test found this while mutating the tip).
The case now asserts the file sync ran at least once, so a missing seam fails it
directly.
Docs-not-needed: tests only; no product behaviour and no documented write order
changes.
Fixes #33011 parent daa1837 commit f290a36
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
| 303 | + | |
303 | 304 | | |
304 | 305 | | |
305 | 306 | | |
| |||
0 commit comments