Files
vectorcraft/crates/mcp
dotCooCoo e09fc706cf MCP: concurrency tests wait on handshakes and a test clock, not sleeps
The server reads the busy limit and the progress throttle from a clock
that tests can move. The concurrency tests no longer sleep past those
limits or wait out a window to show that no reply came:

- The slow backend holds each command until the test releases it or
  the call is cancelled, and reports when it ends.
- Busy and progress tests move the server's clock instead of sleeping.
- The cancel test shows that the cancelled request gets no reply by
  reading every reply up to the answer to a later ping.
- The pipelining test sends its calls behind a running call, and
  cancelling that call shows the reader has taken them in.
- The remote cancel test cancels once the app has read the request.
- The queue-limit test waits until the reader blocks for room and
  checks that exactly MAX_QUEUED lines are queued.

Every assertion is kept. The remaining time limits only end a test
that hangs.
2026-11-27 16:42:14 -08:00
..