mirror of
https://github.com/storytold/cadcraft.git
synced 2026-12-01 18:25:32 -06:00
The two socket tests put their socket at <temp>\cadcraft-single-instance-<pid>-<test>\instance-test.sock, about 58 bytes on top of %TEMP%. uds_windows allows 107 bytes, so a long %TEMP% made UnixListener::bind(...).unwrap() panic and left launches_at_once_open_one_window with no window. - Shorten the folder and socket names to cc-si-<pid>-<test>\t.sock (about 33 bytes). - Skip a test with a note when no socket can be bound at its path, instead of panicking. - Add a test that the test socket path stays within 40 bytes of %TEMP%.