diff options
| author | Craig Jennings <c@cjennings.net> | 2026-07-24 10:58:25 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-07-24 10:58:25 -0500 |
| commit | 921598f30e470482efd3ce4981ee9893c8be60cf (patch) | |
| tree | 0218f1f68ea7529a85ae20920faaafe8d0d24932 /modules/custom-buffer-file.el | |
| parent | 1b86dd5b738d9b0b272f0d01b8913b2ae8938e78 (diff) | |
| download | dotemacs-921598f30e470482efd3ce4981ee9893c8be60cf.tar.gz dotemacs-921598f30e470482efd3ce4981ee9893c8be60cf.zip | |
fix(test): stop the syncing-p tests leaking in-flight state
- They cleared the module's state hash on entry, not on exit.
- One marks "proton" syncing to exercise the dispatcher's in-flight guard.
- A sibling dispatch test uses a calendar also named "proton".
- ERT runs them in that order, so the dispatch became a no-op and it failed.
- Now each test let-binds a private hash, matching the sibling test files.
- Added a test that pins the isolation itself.
The failure was invisible from both directions. make test runs each file in its
own Emacs, and the editor hook skipped this family for exceeding its file cap.
It only appears when the 63 calendar-sync files run in one process.
Diffstat (limited to 'modules/custom-buffer-file.el')
0 files changed, 0 insertions, 0 deletions
