Migrate 12 TestMain files to use EnsureDoltContainerForTestMain/TerminateDoltContainer
instead of the removed StartTestDoltServer/TestDoltServer API.
Replace testServer.IsCrashed()/CrashError() crash detection with standalone
testutil.DoltContainerCrashed()/DoltContainerCrashError() in 6 test files.
(bd-m7sy)
Add TestMain to internal/utils/ that starts an isolated test Dolt server
on a dynamic port, preventing test issues (offlinebrew-, aap-, cr-,
hq-abc12, bd-wisp-t3st) from leaking into the production database on
port 3307.
Changes:
- Add internal/utils/testmain_test.go with isolated test server setup
- Update newTestStore to use testServerPort and unique testdb_ databases
- Register utils-pkg-test-* in orphaned temp dir cleanup list
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Executed-By: beads/polecats/jasper
Rig: beads
Role: polecats