mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-28 09:21:55 +01:00
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.