Files
vectorcraft/crates/plugins/src
dotCooCoo 6e88608a4d Plug-ins: loader, registry and dialog tests wait on handshakes instead of spin counts
The plug-in loader, registry and dialog unit tests decided their results with
yield-count spins (up to 100,000,000 tries) and a 10 s recv_timeout. On a
loaded machine a spin could run out before a worker sent, and a test failed
without a fault.

- Loader tests block on the workers' outcome channel (Loads::record_next) and
  on the jobs' start channel. The stuck-thread tests keep the outcome channel
  of the dropped load and receive the stuck job's outcome, which its worker
  sends after it stops counting the thread as stuck. The window test checks
  that taking outcomes leaves the start limit where it was.
- The registry revision test holds the set and waits for a hook that install
  runs right before it asks for the write lock. The folder-order test drives
  the load on the test thread and receives the other two files' outcomes
  while the first file waits.
- The dialog test counts the conditions Manifest::visible checks and fails
  once it checks more than one per named parameter, so a check that does not
  end fails the test.

Every assertion is kept.
2026-11-27 17:11:33 -08:00
..