Files
craft-launcher/crates/native
XianZheYangandYangXZ2008 3905a8981d Tests: retry hdiutil create in the macOS checks, and say what it said (#442)
`the_bundle_must_be_the_releases_version` failed now and then with
nothing more than "hdiutil create failed": the disk-image helper turns
a create away while it is busy with anything else on the machine, as
`attach` in the launcher already knows and retries for (#135). The
tests' own hdiutil calls were serialized, but that isn't enough.

The test helper tries `hdiutil create` up to five times with a short,
growing pause, and keeps hdiutil's stderr for the failure message, so a
real failure says why. Ten consecutive runs of the macOS checks passed
with it, where before 1 run in 3 failed.

Co-authored-by: YangXZ2008 <141027290+YangXZ2008@users.noreply.github.com>
2026-10-24 01:42:30 -04:00
..