mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-11-28 08:09:55 -05:00
The fake printer counted a close frame when its read completed, which Beast does only after sending the reply and tearing the socket down. The agent's stop returns on the reply, and the test then releases the printer, which closes the socket. When that close beat the teardown, the read failed with another error, the frame went uncounted, and the test waited out its 10 s for nothing. The control callback sees the close frame before the reply goes out, so counting there leaves no window, and the wait helper is no longer needed.
OrcaSlicer tests
Building, running and writing tests is documented on the wiki, under How to Test.
Two files here rather than there, because coding agents only read what is in the repository: