sbt/main-actions/src
MkDev11 fb53925fb6
[2.x] fix: Prevent sbt test from hanging when forked process crashes (#8536)
When a forked test process crashes (e.g., due to UnsupportedClassVersionError),
sbt would hang forever waiting for test results. This happened because
notifyExit only completed the promise with success, regardless of the
exit code.

This fix checks the exit code and fails the promise if the process
exited with a non-zero code, allowing sbt to properly report the failure
and exit.

Fixes #7429
2026-01-14 21:54:17 -05:00
..
main [2.x] fix: Prevent sbt test from hanging when forked process crashes (#8536) 2026-01-14 21:54:17 -05:00
test/scala/sbt Use TCP for the fork test 2026-01-04 01:48:45 -05:00